View Single Post
Old 10-31-2017, 05:28 PM   #2515
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
@mob, @Metaxil: I had written an adapter for Novelupdates which relied on various heuristics to work, however this never made it into FanFicFare because it's unreliable (it doesn't work with all sites), and requires you to run a separate script in the background. Since you are interested in something like this, I thought I'd atleast share it.

* newspaper-server.py: to make use of the adapter, this needs to be run using Python 3 with the required dependencies installed (and Chrome for potential use of a graphical webdriver to scrape the chapter content).
* adater_novelupdates.com: this is the adapter that would need to be added to FanFicFare.

If you are really interested you can try getting this to run, the rough steps are: Install Python 3 and the needed dependencies (preferably in a virtualenv) for newspaper-server.py, then modify FanFicFare to include the linked adapter. Run newspaper-server.py and attempt to download a story using FanFicFare. I want to make it clear that this is not officially supported.

PS: The reason for the external script is that the latest version of the newspaper module dependency requires Python 3; bundling it with FanFicFare (which is what I had in mind initially) would have made it too big.

Last edited by cryzed; 10-31-2017 at 05:55 PM.
cryzed is offline   Reply With Quote