FujoWebDev / AO3.js

NodeJS API for scraping AO3 data
MIT License
15 stars 8 forks source link

Archive Of Our Own Shortlink Support #33

Open enigmalea opened 2 years ago

enigmalea commented 2 years ago

AO3 currently supports urls beginning archiveofourown.org and ao3.org. We should support the shortlink version as well as the long. For example, the function which defines a workURL, should have a WorkShortURL alternative, that provides a URL starting with ao3.org. This will be useful for people who are using the API output in situations where they have character limitations (like tweets or discord uses).