Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
on itself
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loop there if it's actually doing what it should and if there's a better way to optimize it
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fix notice non-object on $parentOfTopCandidate for tumblr.com
|
|
PHP notice on DOMElement $parentOfTopCandidate.
Trying to get property of non-object in serc/Readability.php line 1000
Trying to get property of non-object in serc/Readability.php line 1009
Reproduced with this url:
https://clipartx.tumblr.com/post/172752750628/orange-swirl-burnt-orange-orange
Config:
$config = new Configuration;
$config->setWordThreshold(5)
->setSummonCthulhu(true)
->setFixRelativeURLs(true)
->setOriginalURL($url);
|
|
|
|
|
|
# Conflicts:
# CHANGELOG.md
# composer.json
|
|
|
|
|
|
|
|
|
|
|
|
I have the error:
"Call to a member function C14N() on null"
You could reproduce like this:
- try to parse a url like http://www.dailymotion.com/video/x6ga6qi that doesn't return any content
- this throw an exception and the logs show "[Parsing] Could not parse text, giving up :("
- now, call ->getContent() with the same object readability
Previously, getContent would return "null" but now it call ->C14N() on a NULL object.
|
|
|
|
|
|
before giving up.
|
|
|
|
|