use fallback for very first quota exceeding channel as well
This commit is contained in:
parent
a8a6cc347e
commit
ea0cca7be1
3
ripper
3
ripper
@ -65,7 +65,8 @@ for channel_id in $IDs; do
|
||||
echo "YT API Quota exceeded, using fallback"
|
||||
LEGACYMODE=1
|
||||
fi
|
||||
elif [ -n "$LEGACYMODE" ];then
|
||||
fi
|
||||
if [ -n "$LEGACYMODE" ];then
|
||||
curl -s "https://www.youtube.com/feeds/videos.xml?channel_id=$channel_id" > /tmp/"${channel_id}.xml"
|
||||
python -c "from lxml import etree
|
||||
file=\"/tmp/${channel_id}.xml\"
|
||||
|
Loading…
Reference in New Issue
Block a user