Browse Source

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

master
Mid Favila 9 months ago
parent
commit
3dbe769423
  1. 5
      invcli

5
invcli

@ -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