arzkar / ao3-cli

A CLI to download from archiveofourown.org using their built-in download option.
Apache License 2.0
9 stars 0 forks source link

"Fanfiction not found" when restricted to registered users #5

Open kingjon3377 opened 1 year ago

kingjon3377 commented 1 year ago

AO3 allows authors to restrict a story's visibility to "registered users," meaning users who are currently logged in. Such stories will not appear in search results for a user browsing the site anonymously, and if such a user attempts to view the story using the direct URL, he or she receives a login page saying "This work is only available to registered users of the Archive ..."

When I try to use ao3_cli to download such a story (such as this one), it fails with the error "Fanfiction not found". It would be nice to be able to provide the tool with account credentials to use to download such "restricted" stories.

arzkar commented 1 year ago

Hey, sorry for the late reply. I was busy with IRL work. Regarding this, I kinda stopped using this CLI and moved to using fichub-cli instead for AO3 as well so didn't really think to add the account login feature for ao3-cli. I will look into adding this when I get the time.