08-14-2014, 02:34 AM | #3241 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
Thanks. I only realized the problem after you posted the 02 version of the plugin. Is there a way to weed out the affected authors? I have 1966 authors in my library, AND I managed to go on a Hansel and Gretel binge last night. I took on at least 10 new authors beside the authors whose stories I updated.
|
08-14-2014, 10:50 AM | #3242 | ||
Plugin Developer
Posts: 6,351
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Code:
## website encoding(s) In theory, each website reports the character ## encoding they use for each page. In practice, some sites report it ## incorrectly. Each adapter has a default list, usually "utf8, ## Windows-1252" or "Windows-1252, utf8", but this will let you ## explicitly set the encoding and order if you need to. The special ## value 'auto' will call chardet and use the encoding it reports if ## it has +90% confidence. 'auto' is not reliable. website_encodings:Windows-1252,ISO-8859-1,auto If you don't already have one, try setting one like the one above under [archiveofourown.org]. Quote:
And AO3 has built-in ebook download support. If you cannot resolve your issues, you can always download epubs and other ebook formats directly from AO3. Quote:
If you want to use advanced features, some advanced knowledge may be required. |
||
08-14-2014, 05:12 PM | #3243 | |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Quote:
|
|
08-15-2014, 03:42 AM | #3244 | |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
Quote:
|
|
08-15-2014, 06:17 AM | #3245 |
Enthusiast
Posts: 30
Karma: 7286
Join Date: Mar 2011
Device: ZTE Grand Max + / HP Slate 7 HD
|
If it helps, for sites like that that don't fit the bill (and LJ, etc), I use a Firefox extension called "GrabMyBooks" that grabs selected text and makes an ebook out of them. That might be something worth considering for those weird ones.
|
08-15-2014, 06:43 AM | #3246 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
Thank you sooo much for that suggestion.
|
08-15-2014, 09:58 AM | #3247 | |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Quote:
Poking around a bit, it seems like your best option to fix it would be to sort your stories by Date added to Calibre. Actually, I'd sort by Author then Date so that the stories will be grouped by Author for each date. Since you know it would only affect stories added in this past week you can then select one story from each affected author and run the Update Metadata again. This should fix the author URL issue without having to go into Manage Authors and do it manually for each author. |
|
08-15-2014, 11:13 AM | #3248 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
|
08-15-2014, 12:28 PM | #3249 |
Evangelist
Posts: 435
Karma: 572984
Join Date: Jan 2010
Location: Long Island
Device: Kobo Libra 2, Kindle 4, Nook Gl4, Nook STR, REB 1100, Ebookwise 1500,
|
Welcome.
|
08-15-2014, 05:22 PM | #3250 |
Member
Posts: 15
Karma: 10
Join Date: Feb 2014
Device: None
|
Hi. Since the last update of the plugin, I have started to receive the following error when trying to download/update stories from literotica.
invalid literal for int() with base 10: '' Can you please tell me how to fix this problem? Reply/support will be appreciated. |
08-15-2014, 05:40 PM | #3251 | |
Plugin Developer
Posts: 6,351
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
I don't read that site, so I haven't been paying much attention to the changes. If you post the story URL and/or a debug log I'll look into it. |
|
08-15-2014, 05:56 PM | #3252 | |
Member
Posts: 15
Karma: 10
Join Date: Feb 2014
Device: None
|
Quote:
It is happening about 8/10 times. As an example, for the story with URL : http://www.literotica.com/s/youll-find-anything-online Is this the debug log? I am not sure, if its not this then please tell me how to get it. calibre Debug log calibre 1.48 isfrozen: True is64bit: False Windows-Vista-6.0.6002-SP2 Windows ('32bit', 'WindowsPE') ('Windows', 'Vista', '6.0.6002') Python 2.7.5 Windows: ('Vista', '6.0.6002', 'SP2', 'Multiprocessor Free') Starting up... FFDLEBUG:calibre_plugins.fanfictiondownloader_pl ugin.ffdl_plugin(158):Plugin FanFictionDownLoader macmenuhack file_path:C:\Users\HP\AppData\Roaming\calibre\plug ins\fanfictiondownloader_macmenuhack.txt FFDLEBUG:calibre_plugins.fanfictiondownloader_pl ugin.ffdl_plugin(734):FanFictionDownLoader v2.0.3 FFDLEBUG:calibre_plugins.fanfictiondownloader_pl ugin.ffdl_plugin(769):url:http://www.literotica.com/s/youll-find-anything-online FFDLEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.adapter_literotica( 121):Chapter/Story URL: <http://www.literotica.com/s/youll-find-anything-online> FFDLEBUG:calibre_plugins.fanfictiondownloader_pl ugin.ffdl_plugin(935):update existing id:2735 FFDL:ERROR:calibre_plugins.fanfictiondownloader_pl ugin.dialogs(611):Exception: {u'comment': u"invalid literal for int() with base 10: ''", u'status': u'Add', u'pubdate': datetime.datetime(2014, 8, 6, 0, 0, tzinfo=SafeLocalTimeZone()), u'listorder': 0, u'site': 'literotica.com', u'added': False, u'end': None, u'author': [u'SDLRob'], u'comments': u"<p>Alexis is caught enjoying Kate's pornstar debut.</p>", u'calibre_id': 2735, u'series': '', u'username': 'NoneGiven', u'begin': None, u'good': False, u'tags': ['FanFiction'], u'timestamp': datetime.datetime(2014, 8, 16, 3, 21, 14, 781000, tzinfo=SafeLocalTimeZone()), u'is_adult': False, u'updatedate': datetime.datetime(2014, 8, 6, 0, 0, tzinfo=SafeLocalTimeZone()), u'all_metadata': {'rating': '', 'eroticatags': u'Celebrities', 'series': '', 'numWords': '', 'site': u'literotica.com', 'datePublished': u'2014-08-06', 'authorHTML': u"<a class='authorlink' href='http://www.literotica.com/stories/memberpage.php?uid=1801739&page=submissions'>SDLRo b</a>", 'storyUrl': u'http://www.literotica.com/s/youll-find-anything-online', 'storyId': u'youll-find-anything-online', 'category': u'', 'lastupdate': u'Last Update Year/Month: 2014/08, Last Update: 2014/08/06', 'formatext': '', 'author': u'SDLRob', 'ships': u'', 'seriesHTML': '', 'formatname': '', 'version': u'FanFictionDownLoader v2.0.3', 'dateUpdated': u'2014-08-06', 'numChapters': '', 'status': '', 'langcode': '', 'description': u"Alexis is caught enjoying Kate's pornstar debut.", 'warnings': u'', 'dateCreated': u'2014-08-16 03:21:14', 'output_css': '', 'authorId': u'1801739', 'authorUrl': u'http://www.literotica.com/stories/memberpage.php?uid=1801739&page=submissions', 'characters': u'', 'genre': u'', 'language': '', 'seriesUrl': '', 'siteabbrev': u'litero', 'title': u"You'll Find Anything Online", 'extratags': u''}, u'password': '', u'icon': u'plus.png', u'publisher': u'literotica.com', u'url': u'http://www.literotica.com/s/youll-find-anything-online', u'author_sort': [u'SDLRob'], u'title': u"You'll Find Anything Online"}:invalid literal for int() with base 10: '' Traceback (most recent call last): File "calibre_plugins.fanfictiondownloader_plugin.dialo gs", line 601, in do_loop File "calibre_plugins.fanfictiondownloader_plugin.ffdl_ plugin", line 1037, in prep_download_loop ValueError: invalid literal for int() with base 10: '' Thank you for the reply. Last edited by FicReader81; 08-15-2014 at 05:59 PM. Reason: Add more info |
|
08-15-2014, 06:02 PM | #3253 |
Member
Posts: 15
Karma: 10
Join Date: Feb 2014
Device: None
|
Debug log in Txt format.
|
08-15-2014, 06:05 PM | #3254 | |
Plugin Developer
Posts: 6,351
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
The adapter wasn't setting the number of chapters correctly all the time. The attached version seems to work better for me. |
|
08-15-2014, 06:47 PM | #3255 | |
Member
Posts: 15
Karma: 10
Join Date: Feb 2014
Device: None
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Count Pages | kiwidude | Plugins | 1750 | 04-07-2024 01:20 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Resize Cover | kiwidude | Plugins | 95 | 03-16-2024 11:55 PM |
[GUI Plugin] Find Duplicates | kiwidude | Plugins | 1096 | 03-16-2024 11:28 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |