Updated invcli to only retrieve audio+video in MP4 format at 720p.

master
Mid Favila 2 years ago
parent 54362dcf4a
commit 3dbe769423

@ -26,7 +26,8 @@ watch_vid()
fetch_itag()
{
curl --silent $1|sed -ne 's/.*"itag":"\([0-9][0-9]*\)".*/\1/p'
# 22 seems to be the itag associated with audio+video MP4s at 720p...
curl --silent $1|sed -ne 's/.*"itag":"\([0-9][0-9]*\)".*/\1/p' #|grep 22
}
fetch_id()
@ -36,7 +37,7 @@ fetch_id()
generate_locations()
{
for itag in $(fetch_itag $(extract_urls|sed $chosen_video!d)|sed $chosen_video!d)
for itag in 22 #$(fetch_itag $(extract_urls|sed $chosen_video!d)|sed $chosen_video!d)
do
watch_vid
done

Loading…
Cancel
Save