diff options
author | Phil Burton <phil@d3r.com> | 2019-06-11 15:20:45 +0100 |
---|---|---|
committer | Phil Burton <phil@d3r.com> | 2019-06-11 15:20:45 +0100 |
commit | a388c59e487607b6e86c5b82a99605275e5f13d4 (patch) | |
tree | 836057cf20f2b07bbc54ff7c11378f59a6e06de3 /scripts | |
parent | d8ffff6171b433b4e0a1b0849c060c9e1051734f (diff) |
Remove bad handling of truncation
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/run.php | 3 |
1 files changed, 1 insertions, 2 deletions
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; |