eafer / rdrview

Firefox Reader View as a command line tool
Apache License 2.0
836 stars 35 forks source link

Not correct output #31

Open shivanshu-semwal opened 1 year ago

shivanshu-semwal commented 1 year ago

https://www.geeksforgeeks.org/dynamic-programming/ all the list items are missing.

image


This is using the firefox reader. image

eafer commented 4 months ago

Hi, thanks for the report, sorry for the long delay. The reason for the difference in output is that firefox runs its reader view on the page after the scripts have been run, and this particular page uses them to load a few extra paragraphs of ads that affect the result. If you try disabling javascript on firefox before enabling reader view, you will get the exact same (bad) output.

There is no good way to deal with this. I guess I could come up with some hack for geeksforgeeks pages in particular. I'll think about it.