summaryrefslogtreecommitdiff
path: root/rumble-get-vids-of-channel.sh
blob: 8c297adafe4d6a6b0a998e2b807453d3b545e440 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
case $1 in
  https://rumble.com/c/*)
    ;;
  *)
    printf "'%s' doesn't look like a Rumble channel URL\n"
    exit 1
    ;;
esac
curl -s $1 | sed -En '/title__link/s/.*href=\"(.*)\">/https:\/\/rumble.com\1/p'