Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 06-30-2014, 01:37 AM   #3061
vikarti
Groupie
vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.vikarti ought to be getting tired of karma fortunes by now.
 
Posts: 185
Karma: 1004974
Join Date: May 2013
Location: Solar system, Earth
Device: none
Issues with fictionmania and literotica:
- some stories on fictionnamia.tv are 'Story with Images' like http://www.fictionmania.tv/stories/r...93490826853422 - FFDL plugin says 'no valid story URL entered' (
downloads for some literotica's stories (even ones which worked before) are getting stuck with 'Fetching metadata for stories'.
for some other it results in "FFDLEBUG:calibre_plugins.fanfictiondownloader_p lugin.ffdl_plugin(761):url:http://www.literotica.com/s/the-story-of-odilia-ch-03
DEBUG:calibre_plugins.fanfictiondownloader_plugin. ffdl_plugin:url:http://www.literotica.com/s/the-story-of-odilia-ch-03
FFDLEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.adapter_literotica( 86):first page URL: http://www.literotica.com/s/the-story-of-odilia-ch-03
DEBUG:calibre_plugins.fanfictiondownloader_plugin. fanficdownloader.adapters.adapter_literotica:first page URL: http://www.literotica.com/s/the-story-of-odilia-ch-03
FFDLEBUG:calibre_plugins.fanfictiondownloader_pl ugin.fanficdownloader.adapters.adapter_literotica( 135):last page number: 2
DEBUG:calibre_plugins.fanfictiondownloader_plugin. fanficdownloader.adapters.adapter_literotica:last page number: 2
FFDL:ERROR:calibre_plugins.fanfictiondownloader_pl ugin.dialogs(600):Exception: {u'comment': u"'NoneType' object has no attribute 'findAll'", u'begin': None, u'good': False, u'end': None, u'author': [u'Unknown'], u'url': u'http://www.literotica.com/s/the-story-of-odilia-ch-03', u'listorder': 24, u'author_sort': [u'Unknown'], u'site': 'www.literotica.com', u'comments': u'', u'calibre_id': None, u'added': False, u'title': u'Unknown'}:'NoneType' object has no attribute 'findAll'
ERROR:calibre_plugins.fanfictiondownloader_plugin. dialogs:Exception: {u'comment': u"'NoneType' object has no attribute 'findAll'", u'begin': None, u'good': False, u'end': None, u'author': [u'Unknown'], u'url': u'http://www.literotica.com/s/the-story-of-odilia-ch-03', u'listorder': 24, u'author_sort': [u'Unknown'], u'site': 'www.literotica.com', u'comments': u'', u'calibre_id': None, u'added': False, u'title': u'Unknown'}:'NoneType' object has no attribute 'findAll'
Traceback (most recent call last):
File "calibre_plugins.fanfictiondownloader_plugin.dialo gs", line 590, in do_loop
File "calibre_plugins.fanfictiondownloader_plugin.ffdl_ plugin", line 839, in prep_download_loop
File "calibre_plugins.fanfictiondownloader_plugin.fanfi cdownloader.adapters.base_adapter", line 258, in getStoryMetadataOnly
File "calibre_plugins.fanfictiondownloader_plugin.fanfi cdownloader.adapters.adapter_literotica", line 204, in extractChapterUrlsAndMetadata
AttributeError: 'NoneType' object has no attribute 'findAll'"

Last edited by vikarti; 06-30-2014 at 02:16 AM.
vikarti is offline  
Old 07-01-2014, 12:15 PM   #3062
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by vikarti View Post
Issues with fictionmania and literotica:
- some stories on fictionnamia.tv are 'Story with Images' like http://www.fictionmania.tv/stories/r...93490826853422
...
http://www.literotica.com/s/the-story-of-odilia-ch-03
...
The literotica issue is one that I thought I'd already fixed, but I guess not well enough. Attached is a version that addresses that issue.

I didn't write the adapter for fictionnamia.tv, but it looks like that type of story just isn't supported.

Last edited by JimmXinu; 07-21-2014 at 11:15 PM. Reason: Remove obsolete beta versions
JimmXinu is offline  
Old 07-05-2014, 08:10 PM   #3063
xvector
Junior Member
xvector began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2014
Device: Moon+ Reader Pro (Android - Nexus 5)
Downloading from fanfiction.net takes about 4 minutes per novel-length book! And about 2 minutes per book if I have a couple in the list.

Is this normal? Applications like the fanfiction downloader application take much less time (~1 second per chapter). Am I doing something wrong? Is it because this plugin for Calibre downloads more metadata, tags, etc? I noticed that the fanfiction dowloader application doesn't download nearly as much metadata (tags, etc) as this.
xvector is offline  
Old 07-05-2014, 10:04 PM   #3064
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by xvector View Post
Downloading from fanfiction.net takes about 4 minutes per novel-length book! And about 2 minutes per book if I have a couple in the list.

Is this normal? ....
Pretty much.

ffnet will start blocking your IP address if you download too many chapters too fast. To avoid that, especially for the people who try to update their whole library at once, there are several sleep timers built-in to FFDL when downloading ffnet stories.

So rather than risking users being blocked for several days or a week for over doing it, FFDL runs slower for everyone.
JimmXinu is offline  
Old 07-07-2014, 10:43 PM   #3065
Jade Aislin
Groupie
Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.
 
Posts: 164
Karma: 3100
Join Date: Sep 2011
Device: Kobo Auro H2O, PRS-T1
I know I mentioned this problem before, but I'm still having issues when I try to update a story with a different URL. If my library already has the story, it does not change the identifier.

For example, my library already has the story:

https://www.fanfiction.net/s/9065703/1/

Then I try to download:

http://archiveofourown.org/works/706971

I get asked if I want to change the story url and I say yes. Almost all the metadata changes, including the author url. However, the identifier or story url does not change. So if I try to select the story and update, it tries to update from the wrong site.

Any idea why the story url isn't changing?
Jade Aislin is offline  
Old 07-08-2014, 08:30 PM   #3066
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Jade Aislin View Post
I know I mentioned this problem before, but I'm still having issues when I try to update a story with a different URL. If my library already has the story, it does not change the identifier.

For example, my library already has the story:

https://www.fanfiction.net/s/9065703/1/

Then I try to download:

http://archiveofourown.org/works/706971

I get asked if I want to change the story url and I say yes. Almost all the metadata changes, including the author url. However, the identifier or story url does not change. So if I try to select the story and update, it tries to update from the wrong site.

Any idea why the story url isn't changing?
I just tested it with those two exact stories. It continues to work fine for me. Some possibilities:
  1. The URL isn't updated until it's finished downloading from the new source and you've clicked Yes to 'Proceed with updating your library'. Are you waiting until after that to look?
  2. It's not going to update the URL if you have Ids set to 'New Only' on the Standard Columns tab.
  3. It's not going to update if you have it set to not update calibre data after download..
JimmXinu is offline  
Old 07-08-2014, 09:33 PM   #3067
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Attached is a test version that should work for both the existing 1.X calibre and the upcoming 2.X version calibre. 2.x will use PyQt5 which requires changes to virtually all plugins.

This version needs to be tested with the existing calibre.

Brave souls to test with with the beta 2.X version would also be appreciated. Links to the 2.X beta and discussion of the transition (for plugins) can be see at: Attn plugin developers: calibre moving to Qt 5.

Last edited by JimmXinu; 07-21-2014 at 11:15 PM. Reason: Remove obsolete beta versions
JimmXinu is offline  
Old 07-08-2014, 11:10 PM   #3068
Jade Aislin
Groupie
Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.Jade Aislin could sell banana peel slippers to a Deveel.
 
Posts: 164
Karma: 3100
Join Date: Sep 2011
Device: Kobo Auro H2O, PRS-T1
Quote:
Originally Posted by JimmXinu View Post
I just tested it with those two exact stories. It continues to work fine for me. Some possibilities:
  1. The URL isn't updated until it's finished downloading from the new source and you've clicked Yes to 'Proceed with updating your library'. Are you waiting until after that to look?
  2. It's not going to update the URL if you have Ids set to 'New Only' on the Standard Columns tab.
  3. It's not going to update if you have it set to not update calibre data after download..
1. Yes, I am. I wait until it's gone through the Count Pages plugin before I check.

3. I have all the update options checked, including update always on existing stories.

2. Ooops. This was my problem. I haven't been on the standard column in so long, I didn't remember I had some set.

Thanks for figuring out my problem. It's working fine now.
Jade Aislin is offline  
Old 07-09-2014, 08:32 PM   #3069
xvector
Junior Member
xvector began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2014
Device: Moon+ Reader Pro (Android - Nexus 5)
Quote:
Originally Posted by JimmXinu View Post
Pretty much.

ffnet will start blocking your IP address if you download too many chapters too fast. To avoid that, especially for the people who try to update their whole library at once, there are several sleep timers built-in to FFDL when downloading ffnet stories.

So rather than risking users being blocked for several days or a week for over doing it, FFDL runs slower for everyone.
Thanks.

Is it possible to download all books for a certain search result or tag selection on fanfiction.net?

For example, would it be possible to automatically download all ~300 books from https://www.fanfiction.net/book/Harr...100&c1=1&_c1=6 ?
xvector is offline  
Old 07-09-2014, 10:10 PM   #3070
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by xvector View Post
Thanks.

Is it possible to download all books for a certain search result or tag selection on fanfiction.net?

For example, would it be possible to automatically download all ~300 books from https://www.fanfiction.net/book/Harr...100&c1=1&_c1=6 ?
No. There's a feature you can use to gather story URLs from a single page, but it doesn't walk through lists of pages for you. Mass downloads like that is what makes ffnet cranky.
JimmXinu is offline  
Old 07-10-2014, 02:24 AM   #3071
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
Do you know if I can download a whole page of links (25) at a time from FF.net without getting "kicked out" by the website?

Thanks
Tanjamuse is offline  
Old 07-10-2014, 07:43 AM   #3072
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Yes you can, just use the default sleep settings (which you do as far as I know). The plugin was specifically changed to allow this, it might just take a while.
cryzed is offline  
Old 07-10-2014, 07:45 AM   #3073
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
@Cryzed

Default sleep settings, where do I find those ?
Tanjamuse is offline  
Old 07-10-2014, 07:50 AM   #3074
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Tanja, if you didn't change your personal.ini much from last I've seen it you don't need to worry. The default sleep settings are contained in the default configuration -- you would have to specifically overwrite them in your personal.ini (which you didn't). It would be the entry "slow_down_sleep_time" in your "fanfiction.net" section, which I'm pretty sure isn't there.
cryzed is offline  
Old 07-10-2014, 07:51 AM   #3075
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
Thanks so much ... That'll make it that much easier I've been downloading only a couple at a time, and it takes sooooo long
Tanjamuse is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Count Pages kiwidude Plugins 1846 08-02-2025 10:44 PM
[GUI Plugin] Resize Cover kiwidude Plugins 100 07-10-2025 08:50 AM
[GUI Plugin] Find Duplicates kiwidude Plugins 1124 04-18-2025 09:19 AM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 12:43 AM.


MobileRead.com is a privately owned, operated and funded community.