google-code-export / fanficdownloader

Automatically exported from code.google.com/p/fanficdownloader
0 stars 0 forks source link

Unable to download from ffnet #67

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/9786209
(or any story, really)

What is the output format you used?
html

What steps will reproduce the problem?
The usual downloading procedure

What is the expected output? What do you see instead?
This error message:
Traceback (most recent call last):
  File "downloader.py", line 319, in <module>
    main(sys.argv[1:])
  File "downloader.py", line 248, in main
    adapter.getStoryMetadataOnly()
  File "/home/fanficdownloader-4.4.87/fanficdownloader/adapters/base_adapter.py", line 243, in getStoryMetadataOnly
    self.extractChapterUrlsAndMetadata()
  File "/home/fanficdownloader-4.4.87/fanficdownloader/adapters/adapter_fanfictionnet.py", line 161, in extractChapterUrlsAndMetadata
    rating = a.string
AttributeError: 'NoneType' object has no attribute 'string'

What version of the product are you using? On what operating system?
ffdl version 4.4.87, ubuntu 12.04

Please provide any additional information below.
Yesterday, I still could download from ffnet, even with the older version 
4.4.83. Today, not even this newest version will work. 

Original issue reported on code.google.com by amelie...@web.de on 23 Dec 2013 at 9:45

GoogleCodeExporter commented 9 years ago
FF.net changed an url used to fetch metadata. 

I created a temp fix, till Jim approved it: 
http://www.mobileread.com/forums/showpost.php?p=2719966&postcount=2287

Original comment by asbjorn....@gmail.com on 23 Dec 2013 at 10:04

GoogleCodeExporter commented 9 years ago
That works, thanks. 

Original comment by amelie...@web.de on 23 Dec 2013 at 1:07

GoogleCodeExporter commented 9 years ago
Official fix is up.  calibre may take a while to notice the new update.

Original comment by retiefj...@gmail.com on 23 Dec 2013 at 11:17

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thank you kindly. 

Original comment by amelie...@web.de on 23 Dec 2013 at 11:22

GoogleCodeExporter commented 9 years ago
Issue 68 has been merged into this issue.

Original comment by retiefj...@gmail.com on 24 Dec 2013 at 3:22