View Single Post
Old 03-10-2024, 05:16 PM   #9362
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,045
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2023-03-10
- adapter_deviantartcom: Add another way to remove comments section.

Quote:
Originally Posted by Reader1337 View Post
Story with comments:
https://www.deviantart.com/dearpoetr...etry-367984693

Story without comments (When I accessed it at least):
https://www.deviantart.com/illustrat...Win-1018949124
deviantart has some complex HTML which varies a bit by story age.

I've added code that removes more variants of the comments section and it works with the stories I've tried, but I don't read deviantart, so that's a pretty small test set.

Quote:
Originally Posted by Reader1337 View Post
Get story URLs from webpage (Expected: ~73, Actual: 10):
https://www.deviantart.com/dearpoetr...943/old-poetry
The 'Get story URLs from webpage' feature is deliberately very general and only knows how to read <a> tags out of HTML on that page.

The HTML the site gives FFF for that URL only contains 10 story URLs because it is dividing the full list into pages of 10 links each.

You may not be seeing the pages in your browser, depending on your cookies/settings for the site--I was seeing the full list as first in browser before clearing site cookies.

As a work around, you can select text in the browser page and copy/paste or drag/drop it into the 'Story URLs' box of FFF's 'Download from URLs' dialog and FFF will pick out the story URLs. FYI, there may be clipboard sizes applied that still prevent getting a whole page at once.
JimmXinu is offline   Reply With Quote