3These scripts are for interacting with stuff on the web.
5## The individual scripts
9# This adds the root of the repo to the PATH, which has cog_helpers.py
10from os.path import abspath, dirname
13sys.path.append(abspath(dirname(dirname("."))))
22 "description": "Format all of my Caddyfiles, which are config files for my web server."
27 I run this when my Internet connection goes down, and it makes an audible "ping" when it comes back up.
31 "name": "scrape_really_useful_boxes.py",
33 scrape the Really Useful Boxes product catalogue, so I can search for boxes in ways their website doesn't allow – in particular, by dimensions, so I can find boxes that fit into specific spaces.
39 this is a wrapper around <a href="https://github.com/yt-dlp/yt-dlp">yt-dlp</a> that does parallel downloads of videos in playlists.
44cog_helpers.create_description_table(folder_name=folder_name, scripts=scripts)
49 <a href="https://github.com/alexwlchan/scripts/blob/main/web/caddyfmt">
54 Format all of my Caddyfiles, which are config files for my web server.
58 <a href="https://github.com/alexwlchan/scripts/blob/main/web/imdown">
63 I run this when my Internet connection goes down, and it makes an audible "ping" when it comes back up.
67 <a href="https://github.com/alexwlchan/scripts/blob/main/web/scrape_really_useful_boxes.py">
68 <code>scrape_really_useful_boxes.py</code>
72 scrape the Really Useful Boxes product catalogue, so I can search for boxes in ways their website doesn't allow – in particular, by dimensions, so I can find boxes that fit into specific spaces.
76 <a href="https://github.com/alexwlchan/scripts/blob/main/web/yt-dlp.py">
77 <code>yt-dlp.py</code>
81 this is a wrapper around <a href="https://github.com/yt-dlp/yt-dlp">yt-dlp</a> that does parallel downloads of videos in playlists.
84<!-- [[[end]]] (sum: 2K2olXGTrf) -->