From a388c59e487607b6e86c5b82a99605275e5f13d4 Mon Sep 17 00:00:00 2001 From: Phil Burton Date: Tue, 11 Jun 2019 15:20:45 +0100 Subject: Remove bad handling of truncation --- scripts/run.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/run.php') diff --git a/scripts/run.php b/scripts/run.php index 59af4be..5ee1c05 100644 --- a/scripts/run.php +++ b/scripts/run.php @@ -6,9 +6,8 @@ use App\Etym; $baseURL = "http://www.etymonline.com/word/"; $htmlNode = "section[class^='word__defination']"; -$pasteCmd = "../pastebinit -b http://p.of.je"; -$etym = new Etym($baseURL, $htmlNode, $pasteCmd); +$etym = new Etym($baseURL, $htmlNode); $result = $etym->getDefinition(); echo $result . PHP_EOL; -- cgit v1.2.3