JimmXinu / FanFicFare

FanFicFare is a tool for making eBooks from stories on fanfiction and other web sites.
Other
753 stars 161 forks source link

Can't download from ffnet #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Are you using the CLI, web service or calibre plugin?
CLI

What is the story URL?
http://www.fanfiction.net/s/5742587

What is the output format you used?
html

What steps will reproduce the problem?
The usual way of downloading

What is the expected output? What do you see instead?
This is the error message:

FFDL:INFO:base_writer.py(208):Save directly to file: Little wooden men 
(WIP).html
Traceback (most recent call last):
  File "downloader.py", line 275, in <module>
    main(sys.argv[1:])
  File "downloader.py", line 255, in main
    output_filename=writeStory(configuration,adapter,options.format,options.metaonly)
  File "downloader.py", line 61, in writeStory
    writer.writeStory(outstream=outstream,metaonly=metaonly)
  File "/home/csad/archives/fanficdownloader-4.4.62/fanficdownloader/writers/base_writer.py", line 227, in writeStory
    self.story = self.adapter.getStory() # get full story
  File "/home/csad/archives/fanficdownloader-4.4.62/fanficdownloader/adapters/base_adapter.py", line 209, in getStory
    data = self.getChapterText(url)
  File "/home/csad/archives/fanficdownloader-4.4.62/fanficdownloader/adapters/adapter_fanfictionnet.py", line 280, in getChapterText
    data = data[data.index("<div class='storytextp"):]
ValueError: substring not found

What version of the product are you using? On what operating system?
Using the latest version, 4.4.62, ubuntu 12.04

Please provide any additional information below.
This error started today, as far as I know. I was using the version. 4.4.56. I 
have then downloaded the newest version, and I still see the same error. 

Original issue reported on code.google.com by amelie...@web.de on 1 Jul 2013 at 9:04

GoogleCodeExporter commented 9 years ago
I am also having the same issue over MANY of my items from ffn. I have updated 
and everything and continue to get the substring not found error. I have had 
over 400 returned like this & I know that at least 200 of them updated.

Original comment by FdxFicti...@gmail.com on 1 Jul 2013 at 10:19

GoogleCodeExporter commented 9 years ago
Looks like ffnet is either having problems or changed their HTML again.

The problem is, I'm still seeing the old version so it works fine for me still. 
 Until I'm seeing the new version too, I can't update FFDL for it.

Original comment by retiefj...@gmail.com on 1 Jul 2013 at 10:22

GoogleCodeExporter commented 9 years ago
Looks like ffnet is throwing errors.  I got this in the browser:

FanFiction.Net Error Type 1

An error has occurred while processing your request.

Please email this error message in full to support@fanfiction.com.

All errors are logged for administrative and security 
purposes.1f068849028c428ccf8ef2f254473088
199.189.231.219:35
/s/5742587/9/ 2013-07-01 15:50:50

I'll add code to FFDL to more accurately report this error in the next version, 
but nothing I can do is going to fix it.

Original comment by retiefj...@gmail.com on 1 Jul 2013 at 10:55