ArchiveTeam / terroroftinytown

URLTeam's second generation of URL shortener archiving tools
http://urlte.am
MIT License
69 stars 15 forks source link

LSTU #75

Open jtagcat opened 4 years ago

jtagcat commented 4 years ago

Note: LSTU can also be in a different subdirectory (lstu.fr urls are shortened to lstu.fr/something and internal links are lstu.fr/cookie; if installed at domain.tld/my/rebranded-shortener, urls are at domain.tld/my/rebranded-shortener/something and internal links are domain.tld/my/rebranded-shortener/cookie)

  1. Identify that the page is an LSTU instance by finding from the html <input type="url" name="lsturl" id="lsturl" class="form-control" placeholder="URL to shorten" required="">
  2. Store that the URL is an LSTU instance
  3. (periodically) get json of all URLs from /cookie (lstu.fr/cookie)