Using 4.49.0 (from openSUSE packages of which I am a maintainer)
and I get this error (I am certain login and password are
correct, tested with Firefox):
mitmanek:fanfiction $ fanficfare -u non-HP/Pride_and_Prejudice/mary/When\ Mary\ Bennet\ Takes\ a\ Stand-ao3_67481901.epub
Updating non-HP/Pride_and_Prejudice/mary/When Mary Bennet Takes a Stand-ao3_67481901.epub, URL:
https://archiveofourown.org/works/67481901
....Login Failed, Need Username/Password.
Username: mcepl
Password:
....Login Failed, Need Username/Password.
Username: ^CTraceback (most recent call last):
File "/usr/lib/python3.13/site-packages/fanficfare/cli.py", line 437, in do_download
adapter.getStoryMetadataOnly()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/fanficfare/adapters/base_adapter.py", line 368, in getStoryMetadataOnly
self.doExtractChapterUrlsAndMetadata(get_cover=get_cover)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/fanficfare/adapters/base_adapter.py", line 472, in doExtractChapterUrlsAndMetadata
return self.extractChapterUrlsAndMetadata()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/fanficfare/adapters/base_otw_adapter.py", line 188, in extractChapterUrlsAndMetadata
self.performLogin(url,data)
~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/fanficfare/adapters/base_otw_adapter.py", line 135, in performLogin
raise exceptions.FailedToLogin(url,params['user[login]'])
fanficfare.exceptions.FailedToLogin: Failed to Login for URL: (
https://archiveofourown.org/works/67481901/navigate?view_adult=true) with username: (mcepl)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/fanficfare", line 7, in <module>
sys.exit(main())
~~~~^^
File "/usr/lib/python3.13/site-packages/fanficfare/cli.py", line 346, in main
dispatch(options, urls, passed_defaultsini, passed_personalini, warn, fail)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/fanficfare/cli.py", line 322, in dispatch
do_download(url,
~~~~~~~~~~~^^^^^
options,
^^^^^^^^
...<2 lines>...
warn,
^^^^^
fail)
^^^^^
File "/usr/lib/python3.13/site-packages/fanficfare/cli.py", line 447, in do_download
adapter.username = sys.stdin.readline().strip()
~~~~~~~~~~~~~~~~~~^^
KeyboardInterrupt
mitmanek:fanfiction $
Any idea, what’s going on? Tried four times in the last hour
(both with credentials in personal.ini and with whole AO3 section
commented out).
Best,
Matěj
--
http://matej.ceplovi.cz/blog/, @mc...@en.osm.town
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
Courage is resistance of fear, mastery of fear, not absence of
fear.