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 10-27-2018, 11:07 AM   #3031
Sojiro888
Junior Member
Sojiro888 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2017
Device: kobo aura
Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

2018-10-24
- Fix adapter_wuxiaworldco description decomposition, remove outdated testing `raise` from `configurable.py` - Thanks, Rikkitp

2018-10-23
- Fix for adapter_wuxiaworldcom site change.
For the record, I'm still getting the exact same problem. I also tried it on a bunch of other novels on wuxiaworld, and it's the same.
Here are the series I've tried in case it matters.
Code:
against-the-gods
ancient-strengthening-technique
heavenly-jewel-change
legend-of-the-dragon-king
martial-god-asura
martial-world
renegade-immortal
sovereign-of-the-three-realms
spirit-realm
tales-of-demons-and-gods
talisman-emperor
the-charm-of-soul-pets
upgrade-specialist-in-another-world
Although if I try to update an existing epub rather than make a new one, I do get a slightly different error message (the title and authors are not marked as unknown):

Code:
Status - Bad
Title - Upgrade Specialist in Another World
Author - Deceptioning
Comment - 'headline'
URL - https://www.wuxiaworld.com/novel/upgrade-specialist-in-another-world

Also, I just finished manually compiling a novel from moonbunnycafe.com which is well over 1000 chapters, so I have a renewed appreciation for Fanficfare.
Sojiro888 is offline   Reply With Quote
Old 10-27-2018, 01:30 PM   #3032
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Sojiro888 View Post
For the record, I'm still getting the exact same problem. I also tried it on a bunch of other novels on wuxiaworld, and it's the same.
We now support both wuxiaworld.com and wuxiaworld.co -- two different sites.
It looks like you're talking about wuxiaworld.com.

I cannot reproduce this. Are you sure you manually installed the latest test version (see link in my sig)? This fix is not yet in the released version.
JimmXinu is offline   Reply With Quote
Advert
Old 10-27-2018, 01:51 PM   #3033
fathertyme
Enthusiast
fathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheese
 
Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
I just wanted to send out a quick thank you to you, JimmXinu.

I always scan back about 20 pages and pay attention for a couple weeks after I have an issue, and it's amazing how much you get done from so little information.

You ask for debug reports and only get a cut and paste from the error message. Yet you still manage to figure out whats going on enough to fix the problem, generally within a couple hours.

That effort is worthy of respect.

So, Thank you

-tyme
fathertyme is offline   Reply With Quote
Old 10-27-2018, 02:07 PM   #3034
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by fathertyme View Post
I just wanted to send out a quick thank you to you, JimmXinu.
JimmXinu is offline   Reply With Quote
Old 10-28-2018, 01:07 AM   #3035
mob
Member
mob began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Sep 2010
Device: IPad
During my weekly update ran into issues with webnovel.com. All my links returned same error "None of the links need updating", however manual check shows all of them have updated chapters.

Example
https://www.webnovel.com/book/7920706906001505 - site chapter count 535, log shows "Existing epub contains 481 chapters, web site only has 127. Use Overwrite to force update." Internal chapter count is also off....

Thanks in advance for looking into this....
mob is offline   Reply With Quote
Advert
Old 10-28-2018, 10:25 AM   #3036
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by mob View Post
During my weekly update ran into issues with webnovel.com. All my links returned same error "None of the links need updating", however manual check shows all of them have updated chapters.

Example
https://www.webnovel.com/book/7920706906001505 - site chapter count 535, log shows "Existing epub contains 481 chapters, web site only has 127. Use Overwrite to force update." Internal chapter count is also off....
Only the first 127 chapters of that story are 'unlocked', the rest are 'locked'.

FFF used to have code to get around the pay wall to download locked chapters, but it stopped working back in June this year and was removed. FFF has since only recognized 'unlocked' chapters.

I suppose that either you downloaded those before Jun, or that the site or author has changed all those chapters to 'locked' since your last update.
JimmXinu is offline   Reply With Quote
Old 10-28-2018, 09:52 PM   #3037
mob
Member
mob began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Sep 2010
Device: IPad
Thanks for your quick response / explanation.... Really appreciate the work you put into this!
mob is offline   Reply With Quote
Old 10-30-2018, 11:50 AM   #3038
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2018-10-30
- Add verbiage to [www.asianfanfics.com] about site censoring words when not logged in.
- Detect 'fake' 404 page (with HTTP 200) for adapter_royalroadcom
- Fix for adapter_wuxiaworldco for Python3.
- Added volumes to chapter titles adapter_wuxiaworldco - thanks Rikkitp
JimmXinu is offline   Reply With Quote
Old 11-02-2018, 12:41 PM   #3039
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
How do I swap persons in a relationship?

From Jack Sparrow § Elizabeth Swann

to Elizabeth Swann § Jack Sparrow

or Will Turner/Elizabeth Swann

to Elizabeth Swann/Will Turner

I've tried with this:
Code:
(.+?)[§\/](.+?) and then to \2 [§\/] \1
but it doesn't work.
Tanjamuse is offline   Reply With Quote
Old 11-02-2018, 01:32 PM   #3040
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by Tanjamuse View Post
How do I swap persons in a relationship?

From Jack Sparrow § Elizabeth Swann

to Elizabeth Swann § Jack Sparrow

or Will Turner/Elizabeth Swann

to Elizabeth Swann/Will Turner

I've tried with this:
Code:
(.+?)[§\/](.+?) and then to \2 [§\/] \1
but it doesn't work.
You can't use [ ] on replace.
Code:
search:
(.+?)([§\/])(.+?) 

replace:
\3 \2 \1
ilovejedd is offline   Reply With Quote
Old 11-02-2018, 01:35 PM   #3041
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
Quote:
Originally Posted by ilovejedd View Post
You can't use [ ] on replace.
Code:
search:
(.+?)([§\/])(.+?) 

replace:
\3 \2 \1
When I try that it says:
PHP Code:
Invalid group reference 
in S&R.
Tanjamuse is offline   Reply With Quote
Old 11-02-2018, 01:49 PM   #3042
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
How do I swap persons in a relationship
The literal answer to your question, ie how to reverse a two person ship (without regard to content) with possible separators '\', '/' or '§', while preserving separator whitespace is surprisingly complicated to get right:

Code:
add_to_replace_metadata:
 ships=>^(.+?)([ ]*[§/\\][ ]*)(.+)$=>\3\2\1
# note that \ must be escaped to \\ in the regex part.
If you only want to change those specific ships, the most straightforward way is to just do those exact strings:

Code:
add_to_replace_metadata:
 ships=>Jack Sparrow § Elizabeth Swann=>Elizabeth Swann § Jack Sparrow
 ships=>Will Turner/Elizabeth Swann=>Elizabeth Swann/Will Turner
However, if what you really want is all your ships sorted alphabetically (even when more than two), while preserving the separator character and normalizing separator spacing, you can add turn on sort_ships the '§' separator to sort_ships_splits.

Code:
sort_ships:true
## default sort_ships_splits already does \ and &, but it removes spaces around /
sort_ships_splits:
 [ ]*/[ ]*=>\s/\s
 [ ]*&[ ]*=>\s&\s
 [ ]*§[ ]*=>\s§\s
 [ ]*\\[ ]*=>\s\\s
Two caveats:
- With Win10 CLI, putting '§' in personal.ini caused an error reading the config file.
- As I recall, ships with more than 2 names and different separators may cause undefined ordering.
JimmXinu is offline   Reply With Quote
Old 11-02-2018, 02:14 PM   #3043
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
Is there a way to swap them in the S&R?
Tanjamuse is offline   Reply With Quote
Old 11-02-2018, 02:35 PM   #3044
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,993
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
Is there a way to swap them in the S&R?
In Calibre's Search & Replace? You could certainly do a text replacement for each. I don't know how you'd do a regex on a column with possibly more than one value.

If you've been saving an FFF Metadata column, you could use 'Update Calibre Metadata from Saved Metadata Column' once you have your personal.ini settings all squared away.
JimmXinu is offline   Reply With Quote
Old 11-02-2018, 02:59 PM   #3045
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by JimmXinu View Post
In Calibre's Search & Replace? You could certainly do a text replacement for each. I don't know how you'd do a regex on a column with possibly more than one value.
It's probably safe to assume comma as separator.
Code:
search:
([^,§/]+?)([ ]*[§/][ ]*)([^,§/]+)

replace:
\3\2\1
No sure what it would do to something like:
Character 1 § Character 2 § Character 3

My guess, probably:
Character 2 § Character 1 § Character 3


Note, I removed the backslash. I think @Tanjamuse was just trying to use the single backslash to escape the slash but that's not needed inside [ ]. That tripped me up, too.
ilovejedd 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 04:02 AM.


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