View Single Post
Old 12-22-2020, 11:50 AM   #4997
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,033
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Attached
(Here, not in the usual place.)

2020-12-22
- Adding cloudscraper and dependencies
- Updates for many included dependencies
- Need to semi-manually raise HTTPError for error codes with cloudscraper/requests.
- Temp: dump ffnet page to debug when metadata parsing fails.
- Clean up cloudscraper import
- Use requests.util.extract_zipped_paths to get browsers.json instead of kludge.
- Don't use mobile User-Agents with cloudscraper--adapter_fanfictionnet doesn't handle mobile pages.

This version includes the module cloudscraper and dependencies and is configure to use it for fanfiction.net.

This isn't 100% and probably won't help with ffnet in older Calibre versions.

However, it does still work in older versions for other sites. As far as I know. This is more 'test' than usual.

UPDATE: I've written in more detail here, in the github issue.

UPDATE2: Updated test version.

UPDATE3: Test version back in the usual place.

Last edited by JimmXinu; 12-23-2020 at 12:01 PM. Reason: Remove obsolete test version
JimmXinu is offline   Reply With Quote