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 04-23-2023, 11:01 PM   #8371
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: 7,196
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by applegaa View Post
Is there someplace where these flags are documented?
Yeah, I've never been fond of writing documents. In this case, it's in the comments in defaults.ini, where I see I used 'mode' instead of 'flag':
Spoiler:
Code:
## (Plugin Only) - You can also populate calibre custom columns with
## the site specific metadata using custom_columns_settings (but only
## if 'Allow custom_columns_settings from personal.ini' is checked in
## the plugin GUI config.)  There are three parts, the entry name,
## then the label of the calibre custom column, then (optionally) a
## 'mode'.  'r' to Replace any existing values, 'a' to Add to existing
## value (use with tag-like columns), and 'n' for setting on New books
## only.  (Default is 'r'.)

## Literal strings can be set into custom columns using double quotes.
## Each metadata=>column mapping must be on a separate line and each
## needs to have one space at the start of each line.  There is also a
## special case for Integer and Float type custom columns: The static
## value "None" will clear the column.

## 'r_anthaver' and 'n_anthaver' can be used to indicate the same as
## 'r' and 'n' for normal downloads, but to average the metadata for
## the differents story in an anthology before setting in integer and
## float type custom columns.  This can be useful for a averrating
## column, for example.
## 'r_anthmax' and 'n_anthmax' indicate 'r' and 'n' for normal
## downloads, but to use the highest value for the metadata from the
## differents story in an anthology in integer and float type custom
## columns.
## Default is to sum the values of all stories, and numChapters and
## numWords are always summed.

#custom_columns_settings:
# cliches=>#acolumn
# themes=>#bcolumn,a
# timeline=>#ccolumn,n
# "FanFiction"=>#collection
# averrating=>#averrating,r_anthaver
JimmXinu is offline   Reply With Quote
Old 04-24-2023, 12:14 AM   #8372
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,432
Karma: 81357187
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
For future reference:

Would a story-section include_in_customentry override the one in defaults?

Example:

For my subtitle tweak, I replace 'title' and then copy the original to fulltitle, which is displayed on the titlepage. But if I do want to edit the title:

Code:
[defaults]

# fulltitle copies unedited title for titlepages
include_in_fulltitle:title.NOREPL 

[http://test1.com?sid=12345]
add_to_replace_metadata:
 title=>^.*=>edited title

include_in_fulltitle:"edited title"
ownedbycats is offline   Reply With Quote
Old 04-24-2023, 12:39 AM   #8373
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: 7,196
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Yes, it's more visible if you set them to different values. Changes in bold.
Code:
[defaults]

add_to_extra_valid_entries:,fulltitle
add_to_titlepage_entries:,fulltitle

# fulltitle copies unedited title for titlepages
include_in_fulltitle:title.NOREPL 

[http://test1.com?sid=12345]
add_to_replace_metadata:
 title=>^.*=>edited title

include_in_fulltitle:"static title"
JimmXinu is offline   Reply With Quote
Old 04-27-2023, 10:39 AM   #8374
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: 7,196
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2023-04-27
- adapter_deviantartcom: Another detect login string. #947
JimmXinu is offline   Reply With Quote
Old 04-27-2023, 03:45 PM   #8375
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: 7,196
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2023-04-27
- Change force_img_referer to force_img_self_referer_regexp See #940 #941
- adapter_deviantartcom: Another detect login string. #947

Code:
## If set, and the img tag's URL matches the regular expression, FFF
## will use the img tag's own src URL as the HTTP Referer instead of
## the page URL.  This is useful for some image hosting sites that
## watermark or return HTML instead of image data without it.
#force_img_self_referer_regexp:gelbooru.com|photobucket.com
Changed to a regexp instead of a simple switch so it can be more finely controlled and put in more generally than [storyURL] sections.
JimmXinu is offline   Reply With Quote
Old 04-27-2023, 08:08 PM   #8376
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,432
Karma: 81357187
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thanks for implementing my suggestion
ownedbycats is offline   Reply With Quote
Old 04-28-2023, 12:31 AM   #8377
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,432
Karma: 81357187
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
@JimmXinu - While trying to use it for something else, I found that WebToEpub crashes the Vivaldi browser. I found a github issue that confirms it so I added a note to the browser cache page.
ownedbycats is offline   Reply With Quote
Old 04-28-2023, 06:05 AM   #8378
Ghostcat
Connoisseur
Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.Ghostcat ought to be getting tired of karma fortunes by now.
 
Posts: 69
Karma: 582370
Join Date: Apr 2023
Device: Kobo Clara 2E, Pocketbook Inkpad 4
Quote:
Originally Posted by ownedbycats View Post
@JimmXinu - While trying to use it for something else, I found that WebToEpub crashes the Vivaldi browser. I found a github issue that confirms it so I added a note to the browser cache page.
I have just checked and WebToEpub works OK with the Brave Browser. Thanks for this by-the-way, I thought it was a Firefox only extension :-(

I have noticed that on FFN, WebToEpub pauses somewhere between 20 and 25 pages. If left it will eventually continue on its own. This can be avoided by setting "Manual Throttle|Delay per chapter" to 5 Secs/Chapter.
Ghostcat is offline   Reply With Quote
Old 04-28-2023, 08:08 PM   #8379
riothamus
Connoisseur
riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!
 
Posts: 97
Karma: 100000
Join Date: Nov 2010
Device: KOA3, KV, KOA2
So I used to be fairly tech savvy and I can still usually figure things out. But I'm a little stumped getting started with flaresolverr and FFF. I use windows 10 first off. I know the flaresolverr page says it's best to use docker, but it appears the docker instructions are for linux and there's a precompiled binary for flaresolverr for windows. What I can't figure out is if I should still use docker in windows (which I found by googling). A little help to get started? If it was just ff.net I'd stick with browser cache, but I have a story I'm following on scribblehub now too (he had to remove it from royalroad due to smut content).

Thanks!
riothamus is offline   Reply With Quote
Old 04-28-2023, 08:19 PM   #8380
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,432
Karma: 81357187
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
You don't need docker for Windows. Just download it and launch it.
ownedbycats is offline   Reply With Quote
Old 04-28-2023, 08:39 PM   #8381
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: 7,196
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I use the pre-compiled binary for windows when I use it. I find it much easier.
JimmXinu is offline   Reply With Quote
Old 05-01-2023, 11:30 AM   #8382
riothamus
Connoisseur
riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!
 
Posts: 97
Karma: 100000
Join Date: Nov 2010
Device: KOA3, KV, KOA2
Quote:
Originally Posted by ownedbycats View Post
You don't need docker for Windows. Just download it and launch it.
Quote:
Originally Posted by JimmXinu View Post
I use the pre-compiled binary for windows when I use it. I find it much easier.
Hey thanks. I was still a little confused about how to make sure FFF could call flaresolverr but I figured out that I just launch flaresolverr and then run FFF per normal. Much appreciated.
riothamus is offline   Reply With Quote
Old 05-01-2023, 04:39 PM   #8383
applegaa
Connoisseur
applegaa has learned how to buy an e-book online
 
applegaa's Avatar
 
Posts: 77
Karma: 76
Join Date: Apr 2019
Device: none
Quote:
Originally Posted by riothamus View Post
So I used to be fairly tech savvy and I can still usually figure things out. But I'm a little stumped getting started with flaresolverr and FFF. I use windows 10 first off. I know the flaresolverr page says it's best to use docker, but it appears the docker instructions are for linux and there's a precompiled binary for flaresolverr for windows. What I can't figure out is if I should still use docker in windows (which I found by googling). A little help to get started? If it was just ff.net I'd stick with browser cache, but I have a story I'm following on scribblehub now too (he had to remove it from royalroad due to smut content).

Thanks!
You don't need Flaresolverr for ScribbleHub. Just add the following to the ScribbleHub section of your personal.ini:

use_cloudscraper:true

It does fail on about 1 in 30 attempts, but works again on the next try.

- Andrew
applegaa is offline   Reply With Quote
Old 05-02-2023, 10:45 AM   #8384
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: 7,196
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Version Released

Version 4.23.0 - 2023-05-02
- Change force_img_referer to force_img_self_referer_regexp See #940 #941
- adapter_deviantartcom: Another detect login string. #947
- Show INI highlighting under [storyUrl] sections
- Update translations.
- adapter_quotevcom: Some stories have no comments.
- Don't try to set seriesUrl when no series (Anthologies)
- Add force_img_referer optional feature. Closes #940
- Add static include_in_* when double quoted.
- Set Calibre Series URL link (calibre versions > 6.14)
JimmXinu is offline   Reply With Quote
Old 05-02-2023, 11:09 AM   #8385
riothamus
Connoisseur
riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!riothamus rocks like Gibraltar!
 
Posts: 97
Karma: 100000
Join Date: Nov 2010
Device: KOA3, KV, KOA2
Quote:
Originally Posted by applegaa View Post
You don't need Flaresolverr for ScribbleHub. Just add the following to the ScribbleHub section of your personal.ini:

use_cloudscraper:true

It does fail on about 1 in 30 attempts, but works again on the next try.

- Andrew
I tried this several times (at least 5), and unless I'm missing something else I needed to download or have running, I struck out each time.

I did successfully use flaresolverr, but in order to download the 100+ chapter story, I had to disable Windows Defender real time protection. Looks to be a potential issue with flaresolverr and Defender and/or other AV. I haven't had a chance to dig into it more. If I didn't disable RTP, the chromium instances would keep coming and not closing taking up 100% CPU and freezing and/or crashing my computer. I had slightly better luck with ff.net but still had the freeze once before I figured out the AV problem.
riothamus 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 527 08-15-2025 02:36 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 06:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 01:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 07:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 04:31 AM.


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