Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-10-2021, 07:08 PM   #6331
Book_fury
Member
Book_fury began at the beginning.
 
Book_fury's Avatar
 
Posts: 20
Karma: 10
Join Date: Aug 2021
Device: None
What do you mean chapter 91 isn’t there it is ??
Book_fury is offline   Reply With Quote
Old 08-10-2021, 07:14 PM   #6332
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,991
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Book_fury View Post
What do you mean chapter 91 isn’t there it is ??
Go to chapter 91 "The Jade Floating Mountains (Part III)" in the TOC of that story, click the link, observe the 404 error page given.
JimmXinu is offline   Reply With Quote
Old 08-10-2021, 07:34 PM   #6333
Book_fury
Member
Book_fury began at the beginning.
 
Book_fury's Avatar
 
Posts: 20
Karma: 10
Join Date: Aug 2021
Device: None
Quote:
Originally Posted by JimmXinu View Post
Go to chapter 91 "The Jade Floating Mountains (Part III)" in the TOC of that story, click the link, observe the 404 error page given.
Sorry didn’t see that how do you only specify chapters before that and after that

Quote:
Originally Posted by Book_fury View Post
Sorry didn’t see that how do you only specify chapters before that and after that
I’m sure that you used to be able to just put at the end 1-30 or 30-50
Is that a thing?

Quote:
Originally Posted by Book_fury View Post
Sorry didn’t see that how do you only specify chapters before that and after that
I figured it out and I tried to delete the previous posts to clean up a bit but couldn’t figure out how so here’s another post

Moderator Notice
Posts merged

Last edited by JimmXinu; 08-10-2021 at 09:12 PM.
Book_fury is offline   Reply With Quote
Old 08-11-2021, 12:16 AM   #6334
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,030
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
Composite custom column that compares your publisher column vs identifier:url maybe? It's more of a Calibre question that a FFF question.

I don't really see any benefit to having a publisher/site column due to it being in identifier:url.
Yeah, the mismatch was weird. The epub said ffnet, but both the publisher and longtext said AO3.

Since the ffnet url was 404'd, my best guess is that the author deleted a crossposted story from ffnet and I swapped out the URLs and re-downloaded the metadata but not a new ePub. Probably not a common situation.

Last edited by ownedbycats; 08-11-2021 at 12:28 AM.
ownedbycats is online now   Reply With Quote
Old 08-12-2021, 02:38 AM   #6335
Azrael_Jinsei
Junior Member
Azrael_Jinsei turned on, tuned in, and dropped out.Azrael_Jinsei turned on, tuned in, and dropped out.Azrael_Jinsei turned on, tuned in, and dropped out.Azrael_Jinsei turned on, tuned in, and dropped out.Azrael_Jinsei turned on, tuned in, and dropped out.Azrael_Jinsei turned on, tuned in, and dropped out.Azrael_Jinsei turned on, tuned in, and dropped out.Azrael_Jinsei turned on, tuned in, and dropped out.Azrael_Jinsei turned on, tuned in, and dropped out.Azrael_Jinsei turned on, tuned in, and dropped out.Azrael_Jinsei turned on, tuned in, and dropped out.
 
Posts: 5
Karma: 35534
Join Date: Aug 2021
Device: kindle oasis gen 3, 32 gig
Standardizing ships

I have been attempting to standardize ships to make them easily searchable on the kindle. However, I am having trouble figuring it out.

I attempted using the following code:
Code:
[defaults]
add_to_replace:
  ships=>Harry Potter/Severus Snape/Remus Lupin/Tom Riddle=>HPSSLVO, HPSSLVRL
And used the following setup to test

Code:
[teststory:1003]
title:Random Title
category:J.K.Rowling Harry Potter - Fandom
character_list:Fred Weasley, George Weasley, Weasley Family, Hedwig, Harry Potter, Severus Snape, Tom Riddle, Lord Voldemort, Death Eaters (Harry Potter), Dobby, Sirius Black
ships_list:Harry Potter/Severus Snape/Remus Lupin/Tom Riddle
rating:G
Attached Files
File Type: opf metadata.opf (12.5 KB, 145 views)
File Type: epub Random Title - Test Author Aa.epub (3.4 KB, 145 views)
Azrael_Jinsei is offline   Reply With Quote
Old 08-12-2021, 04:46 PM   #6336
fanfictioneer
Enthusiast
fanfictioneer doesn't litterfanfictioneer doesn't litter
 
Posts: 26
Karma: 110
Join Date: Oct 2018
Device: Kindle
I am starting to get the following issue on sufficientvelocity in the comment field:
'data-src'

Haven't had much time to look at it, but it is far from all stories that give it.

Stories that gave the 'data-src' comment recently:
https://forums.sufficientvelocity.co...venture.53999/
https://forums.sufficientvelocity.co...lements.45591/
https://forums.sufficientvelocity.co...rm-mgln.55056/

Ones that do not:
https://forums.sufficientvelocity.co...-potter.84758/
https://forums.sufficientvelocity.co...worm-si.88853/
https://forums.sufficientvelocity.co...ign-owl.87596/
https://forums.sufficientvelocity.co...fiction.67183/
fanfictioneer is offline   Reply With Quote
Old 08-12-2021, 04:56 PM   #6337
Ascello
Enthusiast
Ascello began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
If I say something wrong, someone pls correct me. Thanks.

Quote:
Originally Posted by Azrael_Jinsei View Post
I have been attempting to standardize ships to make them easily searchable on the kindle. However, I am having trouble figuring it out.

I attempted using the following code:
Code:
[defaults]
add_to_replace:
  ships=>Harry Potter/Severus Snape/Remus Lupin/Tom Riddle=>HPSSLVO, HPSSLVRL
And used the following setup to test

Code:
[teststory:1003]
title:Random Title
category:J.K.Rowling Harry Potter - Fandom
character_list:Fred Weasley, George Weasley, Weasley Family, Hedwig, Harry Potter, Severus Snape, Tom Riddle, Lord Voldemort, Death Eaters (Harry Potter), Dobby, Sirius Black
ships_list:Harry Potter/Severus Snape/Remus Lupin/Tom Riddle
rating:G
I think the main issue you have here is that basically in category other than [defaults] takes priority over [defaults]. However replace_metadata has priority over add_to_replace_metadata. So I really see two options to solve this, depending on your preference, and what you want to do with it at the end. 1.
Code:
[defaults]
[teststory:1003]
title:Random Title
category:J.K.Rowling Harry Potter - Fandom
character_list:Fred Weasley, George Weasley, Weasley Family, Hedwig, Harry Potter, Severus Snape, Tom Riddle, Lord Voldemort, Death Eaters (Harry Potter), Dobby, Sirius Black
ships_list:Harry Potter/Severus Snape/Remus Lupin/Tom Riddle
rating:G

add_to_replace_metadata:
  ships=>Harry Potter/Severus Snape/Remus Lupin/Tom Riddle=>HPSSLVO, HPSSLVRL
2.
Code:
[defaults]
add_to_replace_metadata:
  ships=>Harry Potter/Severus Snape/Remus Lupin/Tom Riddle=>HPSSLVO, HPSSLVRL

[teststory:1003]
title:Random Title
category:J.K.Rowling Harry Potter - Fandom
character_list:Fred Weasley, George Weasley, Weasley Family, Hedwig, Harry Potter, Severus Snape, Tom Riddle, Lord Voldemort, Death Eaters (Harry Potter), Dobby, Sirius Black
rating:G

replace_metadata:
 ships_list=>Harry Potter/Severus Snape/Remus Lupin/Tom Riddle
Overall, good luck. I personally gave up on sorting relationships ages ago. Not because of any issue fith FanficFare, but because Ao3 has 200 different tags for each ship, and most fics on FFN has ships in the summary instead of in tags, so generally its just all a huge mess. Maybe you have more patience than I had.

Edit: I suggest you debug your code with actual story urls, instead of typing metadata in .ini. Might be easier and give you more realistic results.


Question from me, good people:

How do I change the default filename of the downloaded fic?
Ascello is offline   Reply With Quote
Old 08-13-2021, 04:50 AM   #6338
ackomb
Zealot
ackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura about
 
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
Quote:
Originally Posted by Azrael_Jinsei View Post
I have been attempting to standardize ships to make them easily searchable on the kindle. However, I am having trouble figuring it out.

I attempted using the following code:
Code:
[defaults]
add_to_replace:
  ships=>Harry Potter/Severus Snape/Remus Lupin/Tom Riddle=>HPSSLVO, HPSSLVRL
It took me a while to figure it out as well. But I've picked up a few tricks along the way thanks to this thread. You're using regular expressions, I would suggest getting the basics down with some tutorials on "https://regexone.com/lesson/introduction_abcs" and check Jimm's tutorial on Github "https://github.com/JimmXinu/FanFicFare/wiki/ReplaceMetadata"

What's wrong with your code here is the punctuation "/" in regex gives different results so you'll need to cancel them with "\". I also believe it should be "replace metadata" and not "add to replace metadata", but that part I'm not a 100% sure of.

As for the code, try this, I use similar code and int works fine for me:
Code:
replace_metadata:
 ships=>^Harry Potter\/Severus Snape\/Remus Lupin\/Tom Riddle$=>HPSSLVO, HPSSLVRL
ackomb is offline   Reply With Quote
Old 08-13-2021, 07:03 AM   #6339
steltek
Connoisseur
steltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura about
 
Posts: 69
Karma: 4484
Join Date: Jan 2016
Device: none
Quote:
Originally Posted by midnightmane View Post
Can't get browser cache to work with brave browser

Status
Title
Author
Comment
URL
Error
Rogue
RedCoaster
Directory does not contain a known browser cache type: '/home/owner/.cache/BraveSoftware/Brave-Browser/Default/cache'
https://www.fanfiction.net/s/10900429/1/
I know it works in Brave for Windows. Have you checked the browser cache feature FAQ for examples of MacOS Chrome/Chromium browser cache locations to be sure you have the right location? They didn't move it from the default location in Windows, so I don't see them having moved it in MacOS either (I mean, it is possible they did, but not likely).

Last edited by steltek; 08-13-2021 at 07:08 AM.
steltek is offline   Reply With Quote
Old 08-13-2021, 06:06 PM   #6340
fanfictioneer
Enthusiast
fanfictioneer doesn't litterfanfictioneer doesn't litter
 
Posts: 26
Karma: 110
Join Date: Oct 2018
Device: Kindle
Rediscovered how to get the debug log.

I commented out the handling of lazy loaded images and got past the issue (since I don't care about images, this works for me).

This is what I got when I encountered the data-src error:
Traceback (most recent call last):

File "calibre_plugins.fanficfare_plugin.jobs", line 374, in do_download_for_worker

File "E:\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\writers \base_writer.py", line 204, in writeStory

File "E:\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\adapter s\base_adapter.py", line 240, in getStory

File "E:\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\adapter s\base_xenforoforum_adapter.py", line 684, in getChapterTextNum

File "E:\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\adapter s\base_xenforoforum_adapter.py", line 232, in make_soup

File "bs4\element.py", line 1401, in __getitem__

KeyError: 'data-src'



FFF: INFO: 2021-08-13 23:27:32,257: calibre_plugins.fanficfare_plugin.jobs(142):

Download Results:

Error https://forums.sufficientvelocity.co...venture.53999/ 'data-src'

Last edited by fanfictioneer; 08-13-2021 at 06:24 PM.
fanfictioneer is offline   Reply With Quote
Old 08-14-2021, 03:33 PM   #6341
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,991
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I am out in the boondocks with very unreliable network right now, so only a short reply:

The regex advice previously proffered looks correct. Also, I agree AO3 tag wrangling is basically a lost cause as a general problem.

KeyError: 'data-src' was a site change that has been fixed in the test version and the last released version. Assuming it isn't a new problem; my network isn't good enough to try downloading large stories to test.
JimmXinu is offline   Reply With Quote
Old 08-14-2021, 04:11 PM   #6342
El_Pirato
FanFic Hunter
El_Pirato began at the beginning.
 
El_Pirato's Avatar
 
Posts: 19
Karma: 10
Join Date: Aug 2013
Location: Newport News, VA
Device: Samsung Galaxy Tab S6
It's safe to assume you never figured out how to deal with the problems involving Fanfiction.net?
El_Pirato is offline   Reply With Quote
Old 08-14-2021, 04:27 PM   #6343
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,030
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
The best option is using the browser cache feature.
ownedbycats is online now   Reply With Quote
Old 08-14-2021, 04:34 PM   #6344
El_Pirato
FanFic Hunter
El_Pirato began at the beginning.
 
El_Pirato's Avatar
 
Posts: 19
Karma: 10
Join Date: Aug 2013
Location: Newport News, VA
Device: Samsung Galaxy Tab S6
Quote:
Originally Posted by ownedbycats View Post
The best option is using the browser cache feature.
it's not working for me
El_Pirato is offline   Reply With Quote
Old 08-15-2021, 11:51 AM   #6345
Ascello
Enthusiast
Ascello began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite 4
How do I change the default filename of the downloaded fics?
Ascello is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 06:18 PM.


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