summaryrefslogtreecommitdiff
path: root/scraper/ddg.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-07-26 19:03:06 -0400
committerlolcat <will@lolcat.ca>2023-07-26 19:03:06 -0400
commit16ee0b368fcf24b48574172726e32a19c275d691 (patch)
tree563a53aa23bda137c3651d782990fd2e8fb39c13 /scraper/ddg.php
parentbca265aea67ec62499aaa113a6490ce9ec7fe730 (diff)
felt quirky, might commit later
Diffstat (limited to 'scraper/ddg.php')
-rw-r--r--scraper/ddg.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scraper/ddg.php b/scraper/ddg.php
index c9c28af..1ce8e18 100644
--- a/scraper/ddg.php
+++ b/scraper/ddg.php
@@ -679,7 +679,7 @@ class ddg{
Check for worknik results
*/
preg_match(
- '/nrj\(\'\/js\/spice\/dictionary\/definition\/([^\']+)\'\)/',
+ '/nrj\(\'\/js\/spice\/dictionary\/definition\/([^\'\)]+)/',
$js,
$wordnik
);