![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2023
Device: kindle
|
ModuleNotFoundError: No module named 'calibre.web.jsbrowser'
Trying to develop a new recipe,
"from calibre.web.jsbrowser.browser import Browser" I'm receiving an error when ebook-convert myrecipe.recipe .epub --test -vvv --debug-pipeline debug The error: ModuleNotFoundError: No module named 'calibre.web.jsbrowser' How can I fix this? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There is no jsbrowser in calibre, dont use it.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2023
Device: kindle
|
Oh ok :/
I made a recipe locally for Revista Piaui(https://piaui.folha.uol.com.br/assine/modal-login/), but they started to require login (I was only using cookies and it worked until this month) and I believe their login uses javascript. Is there any way to be able to login inside the recipe (because of javascript)? Thanks |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There are many recipes that implement login for javascript based sites. For example, WSJ. The trick is to use the browser developer tools to see what actual http requests are made by the javascript and to duplicate htem.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2023
Device: kindle
|
I will check that. Thank you!
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2023
Device: kindle
|
It worked!
Thank you @kovidgoyal |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre - Python No module named magick | BigBird | Calibre | 7 | 10-02-2016 05:01 PM |
No module named PyQt5.Qt | silentfuzzle | Development | 2 | 08-19-2014 12:31 PM |
No module named icu | favour | Development | 2 | 04-08-2014 11:37 PM |
Calibre 0.8.36 - Linux Compile Error - No module named dateutil.parser | jasn | Calibre | 2 | 01-21-2012 11:36 PM |