If I'm right, fixing ff.net will take a little while this time.
At a glance it looks like FF.net changed their entire summary header.
I tried debug on one of the many ff.net stories I've used to test the new heuristics.
Code:
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin(702):FanFictionDownLoader v1.7.52
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin(737):url:http://www.fanfiction.net/s/293768/1/
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_plugin.fanficdownloader.adapters.adapter_fanfictionnet(80):URL: http://www.fanfiction.net/s/293768/1/
FFDL:DEBUG:calibre_plugins.fanfictiondownloader_plugin.fanficdownloader.adapters.adapter_fanfictionnet(113):=Trying newer chapter: http://www.fanfiction.net/s/293768/13/
FFDL:INFO:calibre_plugins.fanfictiondownloader_plugin.fanficdownloader.adapters.adapter_fanfictionnet(153):Fall back category collection
FFDL:ERROR:calibre_plugins.fanfictiondownloader_plugin.dialogs(567):Exception: {u'comment': u"'NoneType' object has no attribute 'find'", u'publisher': u'www.fanfiction.net', u'begin': None, u'good': False, u'end': None, u'author': [u'Jeffrey Vasquez'], u'url': u'http://www.fanfiction.net/s/293768/1/', u'listorder': 0, u'author_sort': u'Vasquez, Jeffrey', u'comments': u'', u'calibre_id': 3715, u'added': False, u'title': u'Progeny'}:'NoneType' object has no attribute 'find'
Traceback (most recent call last):
File "calibre_plugins.fanfictiondownloader_plugin.dialogs", line 557, in do_loop
File "calibre_plugins.fanfictiondownloader_plugin.ffdl_plugin", line 791, in prep_download_loop
File "calibre_plugins.fanfictiondownloader_plugin.fanficdownloader.adapters.base_adapter", line 243, in getStoryMetadataOnly
File "calibre_plugins.fanfictiondownloader_plugin.fanficdownloader.adapters.adapter_fanfictionnet", line 170, in extractChapterUrlsAndMetadata
AttributeError: 'NoneType' object has no attribute 'find'
Fir Jim, here's the header code fort that one.
Code:
<hr>
<button class='btn pull-right' type=button onClick='$("#follow_area").modal();'>Follow/Favorite</button><b class='xcontrast_txt'>Progeny</b>
<span class='xcontrast_txt'><div style='height:5px'></div>By:</span> <a class='xcontrast_txt' href='/u/72474/Jeffrey-Vasquez'>Jeffrey Vasquez</a> <img align=absmiddle src='http://fast.fictionpressllc.netdna-cdn.com/static/ficons/email.png' width=16 height=16 border=0> <a class='xcontrast_txt' title="Send Private Message" href='https://www.fanfiction.net/pm2/post.php?uid=72474'>PM</a>
<div style='margin-top:2px' class='xcontrast_txt'>Memory lost. Memory Forgotten. Shadows dance under the light of the moon. Ranma Saotome thought that he was invincible. Nothing in the world could best him until someone close to his heart was taken from him.</div>
<span class='xgray xcontrast_txt'>Rated: <a class='xcontrast_txt' href='http://www.fictionratings.com/' target='rating'>Fiction T</a> - English - Drama/Romance - Ami M./Amy/Sailor Mercury, Ranma - Chapters: 12 - Words: 209,576 - Reviews: <a href='/r/293768/'>243</a> - Favs: 353 - Follows: 313 - Updated: 03-24-10 - Published: 05-24-01 - id: 293768 </span>
<div class='lc-wrapper' style='margin-top:10px'><div class='lc'>
<span class='xcontrast_txt' style='font-size:15px;cursor:pointer;' title="Increase Font Size" onClick="_fontastic_change_size('u');" >A+</span> <span class='xcontrast_txt' style='font-size:13px;cursor:pointer;' title="Decrease Font Size" onClick="_fontastic_change_size('d');" >A-</span> <img onclick="_fontastic_init('reading');$('#_fontastic_reading').modal('show');" style='margin-left:2px;margin-right:2px;' align=absmiddle src='http://fast.fictionpressllc.netdna-cdn.com/static/fcons/edit-style.png' width=16 height=16 border=0 title="Fonts">
<img onclick="$('#f_width').slideToggle();" style='margin-left:2px;margin-right:2px;' align=absmiddle src='http://fast.fictionpressllc.netdna-cdn.com/static/fcons/edit-alignment-justify.png' width=16 height=16 border=0 title="Story Width"> <span id=f_width class=zhide> <a href='#' onclick='_fontastic_change_width(100);'>Full</a> <a href='#' onclick='_fontastic_change_width(75);'>3/4</a> <a href='#' onclick='_fontastic_change_width(50);'>1/2</a></span> <img onclick="$('#f_size').slideToggle();" style='margin-left:2px;margin-right:2px;' align=absmiddle src='http://fast.fictionpressllc.netdna-cdn.com/static/fcons/edit-line-spacing.png' width=16 height=16 border=0 title="Story Spacing"> <span id=f_size class=zhide> <a href='#' onclick='_fontastic_change_line_height("u");'>Expand</a> <a href='#' onclick='_fontastic_change_line_height("d");'>Tighten</a></span> <img onclick="toggleTheme();" style='margin-left:2px;margin-right:2px;' align=absmiddle src='http://fast.fictionpressllc.netdna-cdn.com/static/fcons/contrast.png' width=16 height=16 border=0 title="Story Contrast"></div></div>
<span style='float:right; ' > <SELECT id=chap_select title="Chapter Navigation" Name=chapter onChange="self.location = '/s/293768/'+ this.options[this.selectedIndex].value + '/Progeny';"><option value=1 selected>1. Progeny Chapter 1<option value=2 >2. Progeny Chapter 2<option value=3 >3. Progeny Chapter 3<option value=4 >4. Progeny Chapter 3: Part II<option value=5 >5. Progeny Chapter 4<option value=6 >6. Progeny Chapter 5<option value=7 >7. Chapter 6<option value=8 >8. Chapter 7<option value=9 >9. Chapter 8<option value=10 >10. Chapter 9<option value=11 >11. Chapter 10<option value=12 >12. Chapter 11</select> <button class=btn TYPE=BUTTON onClick="self.location='/s/293768/2/Progeny'">Next ></button></span><div style='height:5px'></div><script>