What steps will reproduce the problem?
1. Try to download a story from Fanfiction.net
2.
3.
What is the expected output? What do you see instead?
Fanfiction.net worked fine yesterday. Something changed on their end (again) I
suspect. Here is the output today:
=Trying newer chapter: http://www.fanfiction.net/s/8120562/14/
Traceback (most recent call last):
File "downloader.py", line 219, in <module>
main()
File "downloader.py", line 199, in main
output_filename=writeStory(config,adapter,options.format,options.metaonly)
File "downloader.py", line 41, in writeStory
writer.writeStory(outstream=outstream,metaonly=metaonly)
File "C:\Users\randalls\apps\fanficdownloader-4.0.3\fanficdownloader\writers\base_writer.py", line 188,
in writeStory
outfilename=self.getOutputFileName()
File "C:\Users\randalls\apps\fanficdownloader-4.0.3\fanficdownloader\writers\base_writer.py", line 118,
in getOutputFileName
return self.getBaseFileName()
File "C:\Users\randalls\apps\fanficdownloader-4.0.3\fanficdownloader\writers\base_writer.py", line 121,
in getBaseFileName
return self.story.formatFileName(self.getConfig('output_filename'),self.getConfig('allow_unsafe_filen
ame'))
File "C:\Users\randalls\apps\fanficdownloader-4.0.3\fanficdownloader\story.py", line 303, in formatFile
Name
return string.Template(template).substitute(values).encode('utf8')
File "C:\Users\randalls\apps\python27\lib\string.py", line 172, in substitute
return self.pattern.sub(convert, self.template)
File "C:\Users\randalls\apps\python27\lib\string.py", line 162, in convert
val = mapping[named]
KeyError: 'title'
What version of the product are you using? On what operating system?
4.4.16b on Win7 Home Premium 64-bit
Please provide any additional information below.
none.
Original issue reported on code.google.com by lens...@gmail.com on 28 Jun 2012 at 6:13
Original issue reported on code.google.com by
lens...@gmail.com
on 28 Jun 2012 at 6:13