When running a recipe that involves a login. It always show the following message:
Spoiler:
InputFormatPlugin: Recipe Input running
Python function terminated unexpectedly
No articles found, aborting (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 192, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 979, in run
File "site-packages\calibre\customize\conversion.py", line 208, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\recipe_ input.py", line 105, in convert
File "site-packages\calibre\web\feeds\news.py", line 881, in download
File "site-packages\calibre\web\feeds\news.py", line 1033, in build_index
ValueError: No articles found, aborting
But I've checked the parsing repeatedly and think it's a result of failing to login.
My code involving login is as follows:
I don't know if I got it right.
When I intentionally gave an incorrect password, however, the error was the same ( "No articles found, aborting") and Calibre didn't say the password is wrong. That makes me think all the whole thing is because of the login.
Here is the website code regarding login:
But I still can't see why the login failed.