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 03-15-2023, 09:55 AM   #8221
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,842
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
I've not seen this. But I also use Adblock and Browser Cache myself.

Can you post an epub showing it? Or upload somewhere and post or PM me a link?
JimmXinu is offline   Reply With Quote
Old 03-15-2023, 11:28 AM   #8222
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,842
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2023-03-15
- Remove inline ads, only seen with flaresolverr so far

Quote:
Originally Posted by ipaqi View Post
Hi, JimmXinu, I've been noticing recently that stories I download via FFF + FlareSolverr from fanfiction.net has been including embedded ads.
...
I do see this with flaresolverr, but not with Chrome or Edge Browser Cache (w/o ad blocker).

I've added code to remove all div.google-auto-placed tags for ffnet stories only.
JimmXinu is offline   Reply With Quote
Old 03-15-2023, 11:42 PM   #8223
don111
Junior Member
don111 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2019
Device: kindle paperwhite
can't download wattpad stories anymore

copy and paste the correct URL, still say no valid URL. How to fix this?
don111 is offline   Reply With Quote
Old 03-16-2023, 12:31 AM   #8224
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,842
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Without knowing what URL you are trying to use, I have no idea.

If it's NSFW, you can PM the URL to me.
JimmXinu is offline   Reply With Quote
Old 03-16-2023, 11:13 PM   #8225
don111
Junior Member
don111 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2019
Device: kindle paperwhite
How to fix: None of the URLs given can be downloaded"?
They are my Wattpad books.
don111 is offline   Reply With Quote
Old 03-16-2023, 11:51 PM   #8226
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,842
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
I am not seeing any problems with wattpad story URLs.

Again, without the URLs that are failing, or a specific error message, I cannot help you.

You could run Calibre in debug mode (under the Calibre Preferences dropdown) to collect more information.
JimmXinu is offline   Reply With Quote
Old 03-19-2023, 08:44 PM   #8227
jan2544213
Junior Member
jan2544213 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2021
Device: none
Hi,

Im currently encountering the "no valid url found" with wattpad stories.
Example:https://www.wattpad.com/814913365-wh...7the-vision%27

However, if I get story from urls from webpage, it will generate a different URL for the same story(ex:https://www.wattpad.com/story/181493861-the-vision) and this url works.

Thank you in advance.

Log:
[0.00] Starting up...
[0.02] Showing splash screen...
[0.16] splash screen shown
[0.16] Initializing db...
[0.20] db initialized
[0.20] Constructing main UI...
[1.42] main UI initialized...
[1.42] Hiding splash screen
Starting QuickView
FFF: DEBUG: 2023-03-19 20:37:34,950: configurable.py(1050): use_browser_cache:
FFF: DEBUG: 2023-03-19 20:37:34,950: configurable.py(1070): use_basic_cache:
FFF: DEBUG: 2023-03-19 20:37:34,950: fetcher_requests.py(114):
---------- REQ (GET) RequestsFetcher
https://www.wattpad.com/apiv2/info?id=814913365
FFF: DEBUG: 2023-03-19 20:37:35,026: fetcher_requests.py(127): response code:200
FFF: DEBUG: 2023-03-19 20:37:35,027: decorators.py(112): fromcache:False
FFF: DEBUG: 2023-03-19 20:37:35,027: requestable.py(55): Encoding:utf8
FFF: DEBUG: 2023-03-19 20:37:36,822: calibre_plugins.fanficfare_plugin.dialogs(493): self.extraoptions['anthology_url']:NOT FOUND
FFF: DEBUG: 2023-03-19 20:37:36,825: fetcher_requests.py(114):
---------- REQ (GET) RequestsFetcher
https://www.wattpad.com/apiv2/info?id=814913365
FFF: DEBUG: 2023-03-19 20:37:36,858: fetcher_requests.py(127): response code:200
FFF: DEBUG: 2023-03-19 20:37:36,858: decorators.py(112): fromcache:False
FFF: DEBUG: 2023-03-19 20:37:36,858: requestable.py(55): Encoding:utf8
FFF: DEBUG: 2023-03-19 20:37:36,858: calibre_plugins.fanficfare_plugin.fff_plugin(1125) : FanFicFare v4.21.0
jan2544213 is offline   Reply With Quote
Old 03-20-2023, 01:45 AM   #8228
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
titlepage_entries - kudos and comment count formatting

Hello,

I'd like to change the number format of the kudos and comment count on my title page. The kudos and comment integers are custom columns with the "format of numbers: {0:,}" setting. The settings work great on custom columns but the formatting does not translate over to the titlepage_entry data.

Here is the code in the personal.ini
Code:
titlepage_entries: seriesHTML,category,genre,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,kudos,comments,warnings,chapterslashtotal,numWords,publisher,description
fandoms_label:Fandoms
On the title page, this is what my word count and kudos look like:

Kudos: 3048
Words: 53,728

On the title page this is what I'd like the kudos count to look like:
Kudos: 3,048

Is it possible to include the comma on the title page for my custom columns Kudos and Comments?

Thanks,
Amalthia
Amalthia is offline   Reply With Quote
Old 03-20-2023, 12:26 PM   #8229
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,842
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2023-03-20
- Changes to wattpad API mapping chapter URLs to story URLs.

Quote:
Originally Posted by jan2544213 View Post
Im currently encountering the "no valid url found" with wattpad stories.
Example:https://www.wattpad.com/814913365-wh...7the-vision%27

However, if I get story from urls from webpage, it will generate a different URL for the same story(ex:https://www.wattpad.com/story/181493861-the-vision) and this url works.
Wattpad is a complicated site that uses json API URLs and doesn't include the story ID in the chapter URLs. The first URL above is to a specific chapter, while the second is the story URL.

The API call the adapter uses to map a given chapter URL to the story ID/URL wasn't working anymore, looks like the API has changed.

The wattpad adapter is unusual(unique?) in that it does a network hit to map chapter URLs to the story URL much earlier in the process. To the point, I don't generally allow networks reqs there.

But I didn't write that adapter, and it is existing behavior, so I will (try to) fix it.
JimmXinu is offline   Reply With Quote
Old 03-20-2023, 12:28 PM   #8230
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,842
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by Amalthia View Post
I'd like to change the number format of the kudos and comment count on my title page. The kudos and comment integers are custom columns with the "format of numbers: {0:,}" setting. The settings work great on custom columns but the formatting does not translate over to the titlepage_entry data.
This should do it:
Code:
add_to_comma_entries:,kudos,comments
JimmXinu is offline   Reply With Quote
Old 03-20-2023, 01:51 PM   #8231
jan2544213
Junior Member
jan2544213 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2021
Device: none
update on the issue

Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

2023-03-20
- Changes to wattpad API mapping chapter URLs to story URLs.



Wattpad is a complicated site that uses json API URLs and doesn't include the story ID in the chapter URLs. The first URL above is to a specific chapter, while the second is the story URL.

The API call the adapter uses to map a given chapter URL to the story ID/URL wasn't working anymore, looks like the API has changed.

The wattpad adapter is unusual(unique?) in that it does a network hit to map chapter URLs to the story URL much earlier in the process. To the point, I don't generally allow networks reqs there.

But I didn't write that adapter, and it is existing behavior, so I will (try to) fix it.
Thank you for the quick fix. I have tested the new version and it works great on the story I linked, but it seems like the fix only work on that story. When I tried another story (ex: https://www.wattpad.com/709157871-_nosleep_forum), it would redirect back to "the-vision" ?


Log:
Starting QuickView
FFF: DEBUG: 2023-03-20 13:46:19,981: configurable.py(1050): use_browser_cache:
FFF: DEBUG: 2023-03-20 13:46:19,981: configurable.py(1070): use_basic_cache:
FFF: DEBUG: 2023-03-20 13:46:19,982: fetcher_requests.py(114):
---------- REQ (GET) RequestsFetcher
https://www.wattpad.com/v4/parts/843...29&_=709157871
FFF: DEBUG: 2023-03-20 13:46:20,076: fetcher_requests.py(127): response code:200
FFF: DEBUG: 2023-03-20 13:46:20,076: decorators.py(112): fromcache:False
FFF: DEBUG: 2023-03-20 13:46:20,076: requestable.py(55): Encoding:utf8
FFF: DEBUG: 2023-03-20 13:46:20,077: fetcher_requests.py(114):
---------- REQ (GET) RequestsFetcher
https://www.wattpad.com/apiv2/getcategories
FFF: DEBUG: 2023-03-20 13:46:20,112: fetcher_requests.py(127): response code:200
FFF: DEBUG: 2023-03-20 13:46:20,112: decorators.py(112): fromcache:False
FFF: DEBUG: 2023-03-20 13:46:20,112: requestable.py(55): Encoding:utf8
FFF: DEBUG: 2023-03-20 13:46:23,255: calibre_plugins.fanficfare_plugin.dialogs(493): self.extraoptions['anthology_url']:NOT FOUND
FFF: DEBUG: 2023-03-20 13:46:23,258: fetcher_requests.py(114):
---------- REQ (GET) RequestsFetcher
https://www.wattpad.com/v4/parts/843...29&_=709157871
FFF: DEBUG: 2023-03-20 13:46:23,303: fetcher_requests.py(127): response code:200
FFF: DEBUG: 2023-03-20 13:46:23,303: decorators.py(112): fromcache:False
FFF: DEBUG: 2023-03-20 13:46:23,303: requestable.py(55): Encoding:utf8
FFF: DEBUG: 2023-03-20 13:46:23,304: calibre_plugins.fanficfare_plugin.fff_plugin(1125) : FanFicFare v4.21.5
FFF: DEBUG: 2023-03-20 13:46:23,418: configurable.py(1050): use_browser_cache:
FFF: DEBUG: 2023-03-20 13:46:23,418: configurable.py(1070): use_basic_cache:true
FFF: DEBUG: 2023-03-20 13:46:23,419: cache_basic.py(116):
========== MISS (GET) BasicCache
https://www.wattpad.com/api/v3/stories/181493861
FFF: DEBUG: 2023-03-20 13:46:23,419: fetcher_requests.py(114):
---------- REQ (GET) RequestsFetcher
https://www.wattpad.com/api/v3/stories/181493861
FFF: DEBUG: 2023-03-20 13:46:23,495: fetcher_requests.py(127): response code:200
FFF: DEBUG: 2023-03-20 13:46:23,495: decorators.py(112): fromcache:False
FFF: DEBUG: 2023-03-20 13:46:23,495: decorators.py(123): random sleep(1.00-3.00):1.91
FFF: DEBUG: 2023-03-20 13:46:25,411: requestable.py(55): Encoding:utf8
FFF: DEBUG: 2023-03-20 13:46:25,421: base_adapter.py(584): setCoverImage(https://www.wattpad.com/story/181493...512-k78133.jpg)
FFF: DEBUG: 2023-03-20 13:46:25,421: story.py(1470): addImgUrl(parenturl=https://www.wattpad.com/story/181493861-the-vision,url=https://img.wattpad.com/cover/181493861-512-k78133.jpg,cover=True,coverexclusion=
FFF: DEBUG: 2023-03-20 13:46:25,421: cache_basic.py(116):
========== MISS (GET) BasicCache
https://img.wattpad.com/cover/181493861-512-k78133.jpg
FFF: DEBUG: 2023-03-20 13:46:25,422: fetcher_requests.py(114):
---------- REQ (GET) RequestsFetcher
https://img.wattpad.com/cover/181493861-512-k78133.jpg
FFF: DEBUG: 2023-03-20 13:46:25,492: fetcher_requests.py(127): response code:200
FFF: DEBUG: 2023-03-20 13:46:25,492: decorators.py(112): fromcache:False
FFF: DEBUG: 2023-03-20 13:46:25,492: decorators.py(123): random sleep(1.00-3.00):1.84
FFF: DEBUG: 2023-03-20 13:46:27,396: calibre_plugins.fanficfare_plugin.fff_plugin(1442) : from URL(https://www.wattpad.com/story/181493861)
FFF: DEBUG: 2023-03-20 13:46:27,404: calibre_plugins.fanficfare_plugin.fff_plugin(1455) : existing found by identifier URL
jan2544213 is offline   Reply With Quote
Old 03-20-2023, 02:17 PM   #8232
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
This should do it:
Code:
add_to_comma_entries:,kudos,comments
That worked! I didn't think to search for "comma" in the default settings.
Amalthia is offline   Reply With Quote
Old 03-21-2023, 04:39 AM   #8233
Kraban
Junior Member
Kraban began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2020
Device: Android
Hi,
recently I've encountered a problem with www.ficbook.net: using browser cache feature I receive error "'NoneType' object has no attribute 'text'" for any fic.
Can you please take a look?

Spoiler:
ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
FFF: DEBUG: 2023-03-21 11:26:15,118: calibre_plugins.fanficfare_plugin.fff_plugin(215): Plugin FanFicFare macmenuhack file_path:H:\Soft\Calibre Portable\Calibre Settings\plugins\fanficfare_macmenuhack.txt
calibre Журнал ошибок
calibre 6.14 Portable embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: ru
Successfully initialized third party plugins: Count Pages (1, 12, 1) && FanFicFare (4, 21, 0) && Reading List (1, 15, 1)
calibre 6.14 Portable embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: ru
Successfully initialized third party plugins: Count Pages (1, 12, 1) && FanFicFare (4, 21, 0) && Reading List (1, 15, 1)
QPA platform: windows
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 109.63111668757841 x 109.50898203592814
[0.00] Starting up...
[0.00] Showing splash screen...
[0.16] splash screen shown
[0.16] Initializing db...
[0.30] db initialized
[0.30] Constructing main UI...
Ignoring blacklisted device: The \\?\usb#vid_04e8&pid_6860&ms_comp_mtp&samsung_andr oid#8&358f7daf&0&0000#{6ac27878-a6fa-4155-ba85-f98f491d4f33} device has been blacklisted by the user
[1.34] main UI initialized...
[1.34] Hiding splash screen
Starting QuickView
FFF: DEBUG: 2023-03-21 11:26:42,488: calibre_plugins.fanficfare_plugin.fff_plugin(1125) : FanFicFare v4.21.0
FFF: INFO: 2023-03-21 11:26:42,694: calibre_plugins.fanficfare_plugin.prefs(215): Using default settings
FFF: DEBUG: 2023-03-21 11:26:42,709: configurable.py(1050): use_browser_cache:true
FFF: DEBUG: 2023-03-21 11:26:42,709: configurable.py(1052): browser_cache_path:C:\Users\darkk\AppData\Local\Go ogle\Chrome\User Data\Default\Cache\Cache_Data
FFF: DEBUG: 2023-03-21 11:26:42,717: browsercache_blockfile.py(53): Using BlockfileCache
FFF: DEBUG: 2023-03-21 11:26:42,717: configurable.py(1070): use_basic_cache:true
FFF: DEBUG: 2023-03-21 11:26:42,718: adapter_ficbooknet.py(78): URL: https://ficbook.net/readfic/5930038
FFF: DEBUG: 2023-03-21 11:26:42,718: cache_basic.py(116):
========== MISS (GET) BasicCache
https://ficbook.net/readfic/5930038
FFF: DEBUG: 2023-03-21 11:26:42,718: base_browsercache.py(85): Cache Key:1/0/_dk_https://ficbook.net https://ficbook.net https://ficbook.net/readfic/5930038
FFF: DEBUG: 2023-03-21 11:26:42,718: browsercache_blockfile.py(112): []
FFF: DEBUG: 2023-03-21 11:26:42,718: base_browsercache.py(85): Cache Key:1/0/_dk_chrome-extension://akiljllkbielkidmammnifcnibaigelm chrome-extension://akiljllkbielkidmammnifcnibaigelm https://ficbook.net/readfic/5930038
FFF: DEBUG: 2023-03-21 11:26:42,718: browsercache_blockfile.py(112): []
FFF: DEBUG: 2023-03-21 11:26:42,719: cache_browser.py(66):

open page in browser: https://ficbook.net/readfic/5930038
tries:None

FFF: DEBUG: 2023-03-21 11:26:44,844: cache_browser.py(76): Checking for cache...
FFF: DEBUG: 2023-03-21 11:26:44,844: base_browsercache.py(85): Cache Key:1/0/_dk_https://ficbook.net https://ficbook.net https://ficbook.net/readfic/5930038
FFF: DEBUG: 2023-03-21 11:26:44,852: browsercache_blockfile.py(112): [<fanficfare.browsercache.chromagnon.cacheEntry.Cac heEntry object at 0x000001ACAD994670>]
FFF: DEBUG: 2023-03-21 11:26:44,852: browsercache_blockfile.py(115): Name: 1/0/_dk_https://ficbook.net https://ficbook.net https://ficbook.net/readfic/5930038
FFF: DEBUG: 2023-03-21 11:26:44,852: browsercache_blockfile.py(116): Hash: 0xe1ca0466
FFF: DEBUG: 2023-03-21 11:26:44,852: browsercache_blockfile.py(117): Usage Counter: 0
FFF: DEBUG: 2023-03-21 11:26:44,852: browsercache_blockfile.py(118): Reuse Counter: 0
FFF: DEBUG: 2023-03-21 11:26:44,852: browsercache_blockfile.py(119): Creation Time: 13323860802900345
FFF: DEBUG: 2023-03-21 11:26:44,852: browsercache_blockfile.py(121): Key: 1/0/_dk_https://ficbook.net https://ficbook.net https://ficbook.net/readfic/5930038
FFF: DEBUG: 2023-03-21 11:26:44,852: browsercache_blockfile.py(122): b'location'no location)
FFF: DEBUG: 2023-03-21 11:26:44,856: base_browsercache.py(85): Cache Key:1/0/_dk_chrome-extension://akiljllkbielkidmammnifcnibaigelm chrome-extension://akiljllkbielkidmammnifcnibaigelm https://ficbook.net/readfic/5930038
FFF: DEBUG: 2023-03-21 11:26:44,857: browsercache_blockfile.py(112): []
FFF: DEBUG: 2023-03-21 11:26:44,857: base_browsercache.py(100): age:2023-03-21 11:26:42
FFF: DEBUG: 2023-03-21 11:26:44,857: base_browsercache.py(101): now:2023-03-21 11:26:44.857734
FFF: DEBUG: 2023-03-21 11:26:44,868: cache_browser.py(88):
========== HIT (GET) BrowserCache
https://ficbook.net/readfic/5930038
FFF: DEBUG: 2023-03-21 11:26:44,868: cache_browser.py(92): domain_open_tries:{'ficbook.net': 0}:
FFF: DEBUG: 2023-03-21 11:26:44,868: cache_browser.py(93): fromcache:False
FFF: DEBUG: 2023-03-21 11:26:44,868: decorators.py(112): fromcache:False
FFF: DEBUG: 2023-03-21 11:26:44,868: decorators.py(123): random sleep(2.00-6.00):5.02
FFF: DEBUG: 2023-03-21 11:26:49,890: requestable.py(55): Encoding:utf8
FFF: DEBUG: 2023-03-21 11:26:50,044: adapter_ficbooknet.py(98): Title: (Латино Эффект (рабочее))
FFF: ERROR: 2023-03-21 11:26:50,047: calibre_plugins.fanficfare_plugin.dialogs(725): Exception: {'title': 'Латино Эффект (рабочее)', 'author_sort': 'Borland94', 'author': ['Borland94'], 'comments': '', 'good': False, 'status': 'Ошибка', 'showerror': True, 'calibre_id': 3274, 'begin': None, 'end': None, 'comment': "'NoneType' object has no attribute 'text'", 'url': 'https://ficbook.net/readfic/5930038', 'site': 'ficbook.net', 'series': '', 'added': False, 'pubdate': None, 'publisher': 'ficbook.net', 'listorder': 0, 'collision': 'Обновлять EPUB, если новые главы'}:'NoneType' object has no attribute 'text'
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.dialogs", line 712, in do_loop
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1331, in prep_download_loop
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1211, in get_story_metadata_only
File "H:\Soft\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\adapter s\base_adapter.py", line 327, in getStoryMetadataOnly
File "H:\Soft\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\adapter s\base_adapter.py", line 431, in doExtractChapterUrlsAndMetadata
File "H:\Soft\Calibre Portable\Calibre Settings\plugins\FanFicFare.zip\fanficfare\adapter s\adapter_ficbooknet.py", line 103, in extractChapterUrlsAndMetadata
AttributeError: 'NoneType' object has no attribute 'text'


Thanks
Kraban is offline   Reply With Quote
Old 03-21-2023, 09:53 AM   #8234
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,675
Karma: 74166147
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I may have asked this before, but are there any plans to have open_pages_in_browser to use a non-system default browser?
ownedbycats is offline   Reply With Quote
Old 03-21-2023, 02:32 PM   #8235
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,842
Karma: 4604429
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2023-03-21
- adapter_wattpadcom: Fix accidentally hardcoding a story in.

Quote:
Originally Posted by jan2544213 View Post
Thank you for the quick fix. I have tested the new version and it works great on the story I linked, but it seems like the fix only work on that story. When I tried another story (ex: https://www.wattpad.com/709157871-_nosleep_forum), it would redirect back to "the-vision" ?
That's my mistake--I copy/pasted the chapter ID into the code.

Quote:
Originally Posted by Kraban View Post
Hi,
recently I've encountered a problem with www.ficbook.net: using browser cache feature I receive error "'NoneType' object has no attribute 'text'" for any fic.
Can you please take a look?
It looks like ficbook.net is serving it's pages with cache life set to 0 now, so the browser doesn't cache them.

Which means you can't use FFF's Browser Cache feature with it.

You might try one of the Proxy servers instead. FlareSolverr just had a new version come out...

Quote:
Originally Posted by ownedbycats View Post
I may have asked this before, but are there any plans to have open_pages_in_browser to use a non-system default browser?
Yes, I believe you did ask before. The answer is still 'no' because FFF isn't calling the browser itself, it's calling the OS the same way as if you'd clicked a link in an application.
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 514 03-23-2025 10:26 AM
[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 11:24 PM.


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