![]() |
#2746 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,018
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
@Firedancer885 - That is going to be challenging to parse.
adapter_archiveskyehawkecom.py looks like it deals with something similar. I didn't write that one, so I'm guessing a little. |
![]() |
![]() |
#2748 |
Occassional Beta Tester
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
|
Thanks
![]() |
![]() |
![]() |
#2749 |
Connoisseur
![]() Posts: 80
Karma: 10
Join Date: Dec 2009
Device: none
|
ok,
just setup calibre from scratch in my new pc had some problems but sorted out most of them still have few issues 1. i can't seem to make online library so i just made dropbox folder as "main device" so it exports to it, anyway to auto send updated/new fics to it? 2. some covers don't have names on it, anyway to add the fic name to the cover without loosing cover image? |
![]() |
![]() |
#2750 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,018
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Quote:
|
||
![]() |
![]() |
#2751 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
|
Attached are 2 patches for the plugin. One adds an adapter for http://voracity2.e-fic.com/ and the other is a patch to pretty-print specifically downloaded metadata when using the CLI.
@Firedancer885 I was half-finished when I realized that you were trying to develop your own adapter, so I just finished mine. I hope that it will still help you learn Python. Last edited by cryzed; 06-06-2014 at 02:14 PM. |
![]() |
![]() |
#2752 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,018
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Attached is a test version with cryzed's changes.
They look good and work for me, so they'll be in the next version; assuming nobody else has problems when they use them. Thanks, cryzed. Last edited by JimmXinu; 06-04-2014 at 10:59 PM. Reason: Remove obsolete beta versions |
![]() |
![]() |
#2753 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
|
No problem! Quick notice, I sneakily changed one of the patches and re-attached it. You might want to re-patch it before committing to the repository (I changed the _customized_fetch_url and _login method slightly), sorry about that.
|
![]() |
![]() |
#2754 |
Occassional Beta Tester
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
|
Thanks cryzed
![]() |
![]() |
![]() |
#2755 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
|
Just keep trying, Python is an awesome programming language
![]() I heard great things about http://learnpythonthehardway.org/ and it seems to be the way to go if you really want to get into Python programming nowadays. Don't let the name deter you, it's actually aimed at beginners. (And don't be confused by the price tag, it's free for you to read online) That reminds me: Is there any reason why you are not updating the BeautifulSoup version Jimm? All the changes should be backwards-compatible and the new BeautifulSoup 4 has some new useful features and is more pythonic generally. Last edited by cryzed; 06-02-2014 at 11:47 AM. |
![]() |
![]() |
#2756 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,018
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
I agree that Python is a nice language.
And I'll admit that FFDL isn't necessarily a great project to learn python with because a lot of FFDL reflects my personal C/Perl/Java background and isn't properly 'pythonic'. It's the project I learned python on. ![]() Quote:
So I've stuck with what I know works rather than try to work around proper packaging of new BeautifulSoup versions to include it directly. |
|
![]() |
![]() |
#2757 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
|
Oh I see, I didn't know there were modifications made to the module. Also BeautifulSoup 4 being packaged would be no problem in itself, you could just include the whole folder ("bs4" in the "site-packages" folder) in the project, unless I misunderstood what you meant by packaging.
Also I didn't mean to criticize the codebase, I'm sorry if it came off like that. I was rude enough the first time around ![]() Last edited by cryzed; 06-02-2014 at 12:17 PM. |
![]() |
![]() |
#2758 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,018
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Quote:
FFDL is largely in maintenance mode for me these days--if something's not actively broken, I don't have a lot of ambition to change it. I especially welcome it when other people write new site adapters. ![]() |
||
![]() |
![]() |
#2759 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Hi,
I am using FFDL to download fic from Archive of our own and I am having trouble figuring out if there is a way to exclude all the extra tags and characters that are added to the tag field? I am reading across multiple fandoms so I am looking for something that'll exclude everything in the Characters and Additional Tags fields. I'd appreciate any and all help. Thanks, Amalthia |
![]() |
![]() |
#2760 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,018
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
What are the specific story URL and the tags you want to exclude? Or what tags do you want to include (excluding everything else)? |
|
![]() |
![]() |
|
![]() |
||||
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 |