google-code-export / fanficdownloader

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

unexpected error downloading specific url #36

Closed GoogleCodeExporter closed 9 years ago

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

What is the story URL?
http://www.hpfandom.net/eff/viewstory.php?sid=3140

What is the output format you used?
html

What steps will reproduce the problem?
normal download process

What is the expected output? What do you see instead?

error output:

/ffddl/fanficdownloader-4.4.29$ python downloader.py -f html 
http://www.hpfandom.net/eff/viewstory.php?sid=3140
Traceback (most recent call last):
  File "downloader.py", line 246, in <module>
    main()
  File "downloader.py", line 180, in main
    adapter.getStoryMetadataOnly()
  File "/home/ffddl/fanficdownloader-4.4.29/fanficdownloader/adapters/base_adapter.py", line 238, in getStoryMetadataOnly
    self.extractChapterUrlsAndMetadata()
  File "/home/ffddl/fanficdownloader-4.4.29/fanficdownloader/adapters/adapter_hpfandomnet.py", line 191, in extractChapterUrlsAndMetadata
    for char in value.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

What version of the product are you using? On what operating system?
using version 4.4.29, but it was there in version 4.4.28 as well.

Please provide any additional information below.
The site itself is in the list of supported sites. In fact, I have downloaded 
urls from this site before, without any problems. 

compare this page that can be downloaded as normal: 
http://www.hpfandom.net/eff/viewstory.php?sid=3397

Original issue reported on code.google.com by amelie...@web.de on 19 Oct 2012 at 5:46

GoogleCodeExporter commented 9 years ago
www.hpfandom.net, unlike most, will apparently show the "Characters" label even 
when it has no characters--at least for some stories.

Fixed version:

http://fanficdownloader.googlecode.com/files/fanficdownloader-4.4.29a.zip

Original comment by retiefj...@gmail.com on 19 Oct 2012 at 7:02

GoogleCodeExporter commented 9 years ago
Huh. So that's what it was about. Thank you!

Original comment by amelie...@web.de on 20 Oct 2012 at 7:26