Tool for collecting work URLs from AO3 list views.
This is the last step in a chain of tools for keeping your own personal backups of your favorite works. Because we've all seen "This work has been deleted!" in our bookmarks and cried.
-
Calibre is software for managing a personal ebook library. It doesn't care where they're from; any ebook files are fair game. Imported ebooks can be searched by title, author, user-assigned tags, and the full text of the book.
-
FanFicFare is a plugin for Calibre that can download a work and populate its metadata when given a work URL. (This includes tags, which Calibre can't read out of a manually-downloaded work.) It can also check for updates for works that it's imported.
-
This tool takes the URL of an index page on AO3 and retrieves all the work URLs from it so that you can copy-paste them en masse into FanFicFare.
-
Windows users can install and update through WinGet, the Windows package manager:
winget install legowerewolf.AO3Fetch
Updates are submitted to the WinGet community repository as part of the release process. It may take a day or two for updates to be approved and published.
-
Mac and Linux users can install and update through Homebrew:
brew install legowerewolf/tap/ao3fetch
I manually publish updates to my Homebrew Tap.
-
Users on other platforms can download the latest release for their platform from the releases page and use it in-place or add it to their system path.
If it's added to other package managers, and you want new releases to be published there automatically, submit an issue and we'll see what I can put into the release action.
Also available with the -help flag, or when run with no arguments.
-delay int
Delay between requests in seconds. (default 10)
-login string
Login credentials in the form of username:password, or "interactive" for interactive login.
-outputFile string
Filename to write collected work URLs to instead of standard output.
-pages int
Number of pages to crawl. (default 1)
-series
Discover and crawl series. (default true)
-url string
URL to start crawling from.
-version
Show version information and quit.
- Arguments can be given in the form
-flag=value(all flags) or-flag value(non-boolean flags). - The minimum value for
-delayis10seconds. - If you set
-pagesto-1, it'll automatically determine the page count. - If your
-urlincludes apage=nquery parameter, it'll start from that page. - If you don't want to include series in your crawl, use
-series=false. - It supports the official alternate URLs for the Archive: https://archiveofourown.gay and https://archive.transformativeworks.org.
- You cannot
-loginto an insecure-url.
See the flags package documentation for syntax details.
- This tool uses the user-agent string
AO3Fetch/[commit] (+https://github.com/legowerewolf/AO3fetch). - There is an enforced maximum request rate of 1 request per 10 seconds.
Retry-Afterheaders are obeyed.