php-readability icon indicating copy to clipboard operation
php-readability copied to clipboard

A fork of https://bitbucket.org/fivefilters/php-readability

Results 13 php-readability issues
Sort by recently updated
recently updated
newest added

``` Problem 1 - Root composer.json requires j0k3r/php-readability ^2.0 -> satisfiable by j0k3r/php-readability[2.0.0, 2.0.1]. - j0k3r/php-readability[2.0.0, ..., 2.0.1] require psr/log ^1.0 -> found psr/log[1.0.0, ..., 1.1.4] but the package is...

Even though using h1 tags for sections inside an article is semantically wrong, a lot of websites are doing it anyway. So the idea here is to stop stripping headings,...

Hi, I have tried my best to adapt the given code in order to keep urls into the document and neither put them into footnotes nor removing them. Is there...

Hi there, I tried to get full content using the below page URL but I can't able to do it when the article has shorter content. I have checked the...

Hi there, I don't get why we are cleaning the title content before the `: ` character. It could be legit content. https://github.com/j0k3r/php-readability/blob/9a490fac078b0f773c9848af1c6d76336a073a8d/src/Readability.php#L850

Hi, I have many days using this code to extract the content from webs (a lot of them) but today I found one with one problem. The URL is https://www.searchmetrics.com/glossary/ranking-factor/...

Trying to parse `https://www.youngmoney.co/p/defense-fed` with Graby's [`fetchContent`](https://github.com/j0k3r/graby/blob/4c0b0365ddd3fbe877d05abf985a15dc1bf3ad75/src/Graby.php#L131) results in an exception: https://flareapp.io/share/yPa9qqKP (You need to expand the vendor frames to see the stack trace) It looks like the error occures...

Some BC breaking suggestions: - [ ] Make all classes final. - [ ] Properties private. - [ ] Type hints everywhere. - [ ] Decouple Readability (stateless worker object)...

`DOMNodeList` implements `Traversable`. There are some `for` loops left but we cannot simply replace those: PHP follows the DOM specification, which requires that `NodeList` objects in the DOM are live....

This will allow us to use flexible heredocs in test, as well as typed properties and other goodies. https://www.php.net/releases/7_3_0.php https://www.php.net/releases/7_4_0.php