From 763f96948f39a20d79f7ec68a924966c2b3db761 Mon Sep 17 00:00:00 2001 From: Pawky Languish Date: Thu, 28 Nov 2024 03:18:20 +0000 Subject: add tests and make youtube use oembed (no more bot block, at the cost of VERY minimal info) --- test.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 test.sh (limited to 'test.sh') diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..fdcbba3 --- /dev/null +++ b/test.sh @@ -0,0 +1,21 @@ +#!/bin/sh +#just random urls to test the modules + +./bandcamp.py https://austinwintory.bandcamp.com/album/stray-gods +./bandcamp.py https://soundoftheaviators.bandcamp.com/track/writing-on-the-walls-2 + +#soundcloud and spotify add junk to links if you click "share" +./soundcloud.py https://soundcloud.com/lindseystomp/sets/artemis-3 +./soundcloud.py 'https://soundcloud.com/lindseystomp/sets/artemis-3?utm_source=clipboard&utm_medium=text&utm_campaign=social_sharing' +./soundcloud.py https://soundcloud.com/user-152508755/thefatrat-maisy-kay-the-storm-epic-orchestra-remix +./soundcloud.py 'https://soundcloud.com/user-152508755/thefatrat-maisy-kay-the-storm-epic-orchestra-remix?utm_source=clipboard&utm_medium=text&utm_campaign=social_sharing' + +./spotify.py https://open.spotify.com/track/4pY1okPrJvIPBQM0t4i28v +./spotify.py 'https://open.spotify.com/track/4sOX1nhpKwFWPvoMMExi3q?si=c880ccca72ee435d' +./spotify.py https://open.spotify.com/album/2hvCFY4DYaKzzkNYd60oS3 +./spotify.py 'https://open.spotify.com/album/1u2ACTYzVNK3vSLG0Ah4H3?si=c1ZT_3YeS8SXkrbErFl6bw' + +#youtube oembed does support playlists but ONLY when it's /playlist?list= *NOT* when it is /watch?v=bla&list= +./youtube.py https://www.youtube.com/watch?v=EUD9UTwXAZY +./youtube.py https://www.youtube.com/playlist?list=PL0bbUqXsNHE0ZELST3vW_11GDHKDAwLYh +./youtube.py 'https://www.youtube.com/watch?v=eneLP_P1_fg&list=PL0bbUqXsNHE0ZELST3vW_11GDHKDAwLYh&index=2' -- cgit 1.4.1-2-gfad0