6

Code for the Archive Bot u/Archie notabug.org

Submitted by leftous in RaddleBots (edited )

Still a bit of a mess, but I did the best I could

Some notes:

  • I used the FF geckodriver as opposed to the chromedriver u/selver used, somehow the chromedriver was giving me issues
  • The script runs as a cronjob every 5 minutes
  • The link is captured into archiveis using https://github.com/pastpages/archiveis
  • There are a couple unused functions that I left in there in case someone wants to use them

Let me know if there are improvements that can be made.

Mirrored on Gitlab

Comments

You must log in or register to comment.

0

[deleted] wrote (edited )