Last active
August 17, 2022 05:27
-
-
Save jxu/f4730d66fb491805e0932c864e0a9807 to your computer and use it in GitHub Desktop.
Download panopto videos from podcast file (from https://github.com/jstrieb/panopto-download/issues/3)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires xq with --raw output support (https://github.com/boyska/xq fork) | |
xq -r '//item/enclosure/@url' Podcast.ashx | wget -i - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xq -r '//item/enclosure/@url | //item/title/text()' Podcast.ashx | sed '1~2s/$/\.mp4/' | xargs -d '\n' -L 2 wget -O |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can also download directly from Podcast.ashx using generic extractor jstrieb/panopto-download#3 (comment)