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-07-2022, 07:30 AM   #7396
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
Flaresolver

Is anyone else experiencing problems with FF-Net and flaresolver, or is it just me? I've installed the latest version, but I keep getting the error question if I have started flaresolver.
ackomb is offline   Reply With Quote
Old 08-07-2022, 07:49 AM   #7397
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: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I successfully used Flaresolverr a few days ago.

Assuming that it's enabled in the setting (can't hurt to check; I once accidentally deleted the line) once in a while FFF just doesn't see that it's running. In that case restarting both Calibre and Flaresolverr fixed it.
ownedbycats is offline   Reply With Quote
Advert
Old 08-07-2022, 10:10 AM   #7398
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
I found the issue is with Flaresolver, I start the program but after testing the connection it discontinues the program. I don't know why yet, I've tried re-installing but it's not working. However that is not an FFF issue so I'll have to take this issue elsewhere.
ackomb is offline   Reply With Quote
Old 08-07-2022, 11:46 AM   #7399
estherflails
Member
estherflails began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jul 2021
Device: none
Thank you for your suggestions.

Quote:
Originally Posted by JimmXinu View Post
BTW, doing both .text and stripHTML() is redundant. I prefer stripHTML() because it does some other stuff and definitely gets all sub tags.
I tried it with only stripHTML() but with that the metadata lacked spaces ("Inspired byTitlebyAuthor.") so I added the .text back.

Quote:
Originally Posted by JimmXinu View Post
I haven't tested it recently, but as I recall, it worked to populate a long text(HTML) custom column using yourentryHTML in custom_columns_settings.
I tried yourentryHTML but I couldn't get it to work, it ends up not fetching anything. Here are the relevant parts from my personal.ini:

Spoiler:
extra_valid_entries:inspired, seetheend, inspiredHTML

add_to_custom_columns_settings:
seetheend=>#inspired,r
inspiredHTML=>#inspired,r

I assume I'm doing something wrong here? 😅 I added the 'https://' + self.getSiteDomain() + alink['href'] part to the code too but it made no difference.

Code:
        inspired = metasoup.find('div',{'id':'children'})
        seetheend = metasoup.find('a',text='other works inspired by this one')
        if inspired:
            for alink in inspired.find_all('a'):
                if 'http' not in alink['href']:
                    alink['href']='https://' + self.getSiteDomain() + alink['href']
            self.story.setMetadata('inspired',stripHTML(inspired.text))
        elif seetheend:
            self.story.setMetadata('seetheend','See the end of the work for other works inspired by this one.')
estherflails is offline   Reply With Quote
Old 08-07-2022, 12:07 PM   #7400
estherflails
Member
estherflails began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jul 2021
Device: none
Quote:
Originally Posted by ackomb View Post
I found the issue is with Flaresolver, I start the program but after testing the connection it discontinues the program. I don't know why yet, I've tried re-installing but it's not working. However that is not an FFF issue so I'll have to take this issue elsewhere.
I tried 2.2.4 today and it is indeed not working. If you open it in command prompt it doesn't close and shows you the error, if you're interested in seeing it.

I downloaded 2.2.6 and that one works. I don't know which version you're using but if it's not the newest, it should solve the problem.
estherflails is offline   Reply With Quote
Advert
Old 08-07-2022, 02:26 PM   #7401
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by estherflails View Post
I tried yourentryHTML but I couldn't get it to work, it ends up not fetching anything. Here are the relevant parts from my personal.ini:
...
Rather than go back and forth more times, here is an implementation that works for me for what I think you want.

Is this something other users would like included in FFF?


Code:
add_to_extra_valid_entries:,inspired, inspiredUrl, inspiredHTML, endnotes, endnotesUrl, endnotesHTML
add_to_make_linkhtml_entries:,inspired, endnotes
add_to_extra_titlepage_entries:,inspiredHTML,endnotesHTML
add_to_custom_columns_settings:
 inspiredHTML=>#long_text1
 endnotesHTML=>#long_text2
Code:
        notesdiv = metasoup.find('div', {'class' : "notes module"})
        if notesdiv:
            endnotesurl = notesdiv.find('a',href=re.compile('#work_endnotes$'))
            if endnotesurl:
                self.story.setMetadata('endnotesUrl',self.url+'?view_full_work=true'+'#work_endnotes')
                self.story.setMetadata('endnotes','Story has end notes')
            # logger.debug(self.story.getMetadata('endnotesUrl'))
            inspiredurl = notesdiv.find('a',href=re.compile('#children$'))
            if inspiredurl:
                self.story.setMetadata('inspiredUrl',self.url+'?view_full_work=true'+'#children')
                self.story.setMetadata('inspired','Story has inspired works')
            # logger.debug(self.story.getMetadata('inspiredUrl'))
JimmXinu is offline   Reply With Quote
Old 08-07-2022, 05:27 PM   #7402
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 estherflails View Post
I tried 2.2.4 today and it is indeed not working. If you open it in command prompt it doesn't close and shows you the error, if you're interested in seeing it.

I downloaded 2.2.6 and that one works. I don't know which version you're using but if it's not the newest, it should solve the problem.
Thx, I was sure I had downloaded the latest version this afternoon but after reading this I just removed everything and downloaded it again and now it works again so apparently I had not.
ackomb is offline   Reply With Quote
Old 08-09-2022, 09:56 AM   #7403
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2022-08-09
- adapter_adultfanfictionorg: http->https Closes #870
JimmXinu is offline   Reply With Quote
Old 08-11-2022, 05:21 PM   #7404
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Version Released

Version 4.15.0 - 2022-08-11
- adapter_adultfanfictionorg: http->https Closes #870
- Fix for win10/qt6 progbar not displaying initially.
- Add get_section_url() for adapter_royalroadcom for longer story URL [sections]
- adapter_storiesonlinenet: Single chapter stories slightly different. Also scifistories and finestories. Closes #867
- Use cal6 icon theme system to allow plugin icon customization.
JimmXinu is offline   Reply With Quote
Old 08-12-2022, 02:49 PM   #7405
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: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: Is anyone else finding themselves unable to drag and drop from Thunderbird's email list to FFF's download URL window?

Somewhere between Windows, Calibre, and FFF all updating at once, it's not working anymore and giving me a crossed-out circle cursor. Dragging from the browser's address bar works as expected.

Last edited by ownedbycats; 08-12-2022 at 02:57 PM.
ownedbycats is offline   Reply With Quote
Old 08-12-2022, 04:01 PM   #7406
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
It's working for me right now.

But I have seen for several years times when I would have to drag emails or links back and forth over the border of an area I'd made droppable several times before it would change cursors and allow it. As I recall, Kovid attributed it to qt issues when I asked.
JimmXinu is offline   Reply With Quote
Old 08-12-2022, 10:16 PM   #7407
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: 10,992
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Unfortunately, I can't seem to get it working... restarted Calibre, restarted Thunderbird, restarted the computer.

4.14.3 is behaving the same, so it's likely a change in either Calibre or Windows.
ownedbycats is offline   Reply With Quote
Old 08-12-2022, 10:34 PM   #7408
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I just updated Thunderbird to the latest, and already updated calibre today; it still works for me.

Win10 says there's an update for me, but is stalled at "Downloading 0%". I'll check again if/when it finishes.
JimmXinu is offline   Reply With Quote
Old 08-13-2022, 06:41 AM   #7409
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
Error Message

Hey,

For the last +/- 24 hours I've been having issues using FFF in combination with Flaresolver.

FFF give the following error: HTTP Error in FFF '500 Server Error: Internal Server Error for url: http://localhost:8191/v1'(500) which I learned is a timeout error.

This is the flaresolver report:
PHP Code:
2022-08-13T12:17:43+02:00 INFO FlareSolverr v2.2.6
2022
-08-13T12:17:43+02:00 INFO Testing web browser installation...
2022-08-13T12:17:45+02:00 INFO FlareSolverr User-AgentMozilla/5.0 (Windows NT 10.0Win64x64rv:105.0Gecko/20100101 Firefox/105.0
2022
-08-13T12:17:45+02:00 INFO Test successful
2022
-08-13T12:17:45+02:00 INFO Listening on http://0.0.0.0:8191
2022-08-13T12:19:51+02:00 INFO REQ-1 Incoming request => POST /v1 body: {"cmd":"request.get","url":"https://www.fanfiction.net/s/14108484/1/The-Regina-Parable","maxTimeout":30000,"cookies":[],"postData":null}
2022-08-13T12:19:52+02:00 INFO REQ-1 Cloudflare detected
2022
-08-13T12:20:16+02:00 INFO REQ-1 Challenge solved
2022
-08-13T12:20:22+02:00 WARN REQ-1 Page not reloaded (do not report!): CauseErrorProtocol error (Page.navigate): Session closedMost likely the page has been closed.
2022-08-13T12:20:22+02:00 ERROR REQ-1 Unexpected errorErrorProtocol error (Network.getCookies): Session closedMost likely the page has been closed.
2022-08-13T12:20:22+02:00 ERROR REQ-1 ErrorUnable to process browser requestErrorMaximum timeout reachedmaxTimeout=30000 (ms)
2022-08-13T12:20:22+02:00 INFO REQ-1 Response in 31.614 s
2022
-08-13T12:20:22+02:00 INFO REQ-2 Incoming request => POST /v1 body: {"cmd":"request.get","url":"https://www.fanfiction.net/s/14108484/1/The-Regina-Parable","maxTimeout":30000,"cookies":[],"postData":null}
2022-08-13T12:20:44+02:00 ERROR REQ-2 Unexpected errorTimeoutErrorNavigation timeout of 10000 ms exceeded
2022
-08-13T12:20:44+02:00 ERROR REQ-2 ErrorUnable to process browser requestTimeoutErrorNavigation timeout of 10000 ms exceeded
2022
-08-13T12:20:44+02:00 INFO REQ-2 Response in 21.573 s
2022
-08-13T12:20:48+02:00 INFO REQ-3 Incoming request => POST /v1 body: {"cmd":"request.get","url":"https://www.fanfiction.net/s/14108484/1/The-Regina-Parable","maxTimeout":30000,"cookies":[],"postData":null}
2022-08-13T12:21:10+02:00 ERROR REQ-3 Unexpected errorTimeoutErrorNavigation timeout of 10000 ms exceeded
2022
-08-13T12:21:10+02:00 ERROR REQ-3 ErrorUnable to process browser requestTimeoutErrorNavigation timeout of 10000 ms exceeded
2022
-08-13T12:21:10+02:00 INFO REQ-3 Response in 21.96 s
2022
-08-13T12:21:20+02:00 INFO REQ-4 Incoming request => POST /v1 body: {"cmd":"request.get","url":"https://www.fanfiction.net/s/14108484/1/The-Regina-Parable","maxTimeout":30000,"cookies":[],"postData":null}
2022-08-13T12:21:37+02:00 INFO REQ-4 Cloudflare detected
2022
-08-13T12:21:52+02:00 ERROR REQ-4 Unexpected errorErrorProtocol error (Network.getCookies): Session closedMost likely the page has been closed.
2022-08-13T12:21:52+02:00 ERROR REQ-4 ErrorUnable to process browser requestErrorMaximum timeout reachedmaxTimeout=30000 (ms)
2022-08-13T12:21:52+02:00 INFO REQ-4 Response in 32.007 s
2022
-08-13T12:22:10+02:00 INFO REQ-5 Incoming request => POST /v1 body: {"cmd":"request.get","url":"https://www.fanfiction.net/s/14108484/1/The-Regina-Parable","maxTimeout":30000,"cookies":[],"postData":null}
2022-08-13T12:22:12+02:00 INFO REQ-5 Cloudflare detected
2022
-08-13T12:22:41+02:00 ERROR REQ-5 ErrorUnable to process browser requestErrorMaximum timeout reachedmaxTimeout=30000 (ms)
2022-08-13T12:22:41+02:00 INFO REQ-5 Response in 31.606 s
2022
-08-13T12:22:42+02:00 ERROR REQ-5 Unexpected errorErrorProtocol error (Network.getCookies): Session closedMost likely the page has been closed
Is there anything I can do to solve this problem, or just wait it out?
ackomb is offline   Reply With Quote
Old 08-13-2022, 10:11 AM   #7410
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ackomb View Post
Hey,

For the last +/- 24 hours I've been having issues using FFF in combination with Flaresolver.

FFF give the following error: HTTP Error in FFF '500 Server Error: Internal Server Error for url: http://localhost:8191/v1'(500) which I learned is a timeout error.

...

Is there anything I can do to solve this problem, or just wait it out?
I've been seeing different cloudflare pages in browser while loading cache the last few days. I would speculate that ffnet has increased the level of screening again.

Honestly, I stopped using Flaresolverr and just use browser cache--along with basically not using ffnet for finding new stories anymore.
JimmXinu 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 02:14 AM.


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