Skip to content

Instantly share code, notes, and snippets.

@guidocella
guidocella / avgle-download.sh
Last active June 7, 2024 13:38
Download videos from avgle.com
#!/bin/sh
if [ $# -lt 2 ]; then
echo Usage: avgle-download.sh video_title url_of_last_segment
exit 1
fi
# Visit a video page, open the network tab of the dev tools,
# seek to the end of the video and copy the url of the last .ts segment
# (the .m3u8 playlist is encoded and therefore harder to get).
@Tazeki
Tazeki / Reghook.js
Last active June 12, 2024 18:21
YouTube / HookTube RegEx based URL conversion.
// ==UserScript==
// @name URL Conversion | YouTube - HookTube
// @namespace Tazeki
// @description The smallest, possibly most useful YouTube-HookTube conversion script. RegEx based. Report bugs to tangentale@protonmail.com. Sends any /www.youtube.com/ sites to HookTube before page load. Does not affect /other.youtube.com/, (gaming.youtube.com, creatoracademy.youtube.com, etc.).
// @include *youtube*
// @version 1
// @grant none
// @run-at document-start
// ==/UserScript==