Skip to content

Instantly share code, notes, and snippets.

@jxu
Last active August 17, 2022 05:27
Show Gist options
  • Save jxu/f4730d66fb491805e0932c864e0a9807 to your computer and use it in GitHub Desktop.
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)
# requires xq with --raw output support (https://github.com/boyska/xq fork)
xq -r '//item/enclosure/@url' Podcast.ashx | wget -i -
xq -r '//item/enclosure/@url | //item/title/text()' Podcast.ashx | sed '1~2s/$/\.mp4/' | xargs -d '\n' -L 2 wget -O
@jxu
Copy link
Author

jxu commented Jun 16, 2022

Can also download directly from Podcast.ashx using generic extractor jstrieb/panopto-download#3 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment