AR
Size: a a a
AR
AR
VB
VB
МС
AR
VB
М
МС
L
Всем
привет.youtube-dl https://www.youtube.com/channel/UCXDh3YBD0lE2oGa518u7Rog --flat-playlist -j | jq -r '.id' | sed 's_^_https://youtu.be/_' > /tmp/tmppcuwp7qkвот эта команда нормально отрабатывает из консоли, все отлично
from subprocess import call
tf = tempfile.NamedTemporaryFile()
command = f"youtube-dl {ch_url} --flat-playlist -j | jq -r '.id' | sed 's_^_https://youtu.be/_' > {tf.name}"
call(command, shell=True)
content = requests.get(ch_url)
когда
вызов идет из скрипта - начинает ваоиться с такой ошибкойYoutube Error 403: Access Not Configured. YouTube Data API has not been used in project 422897895433 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=422897895433 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
AR
AR
L
AR
VB
AR
VB
https://www.google.com/search?client=ubuntu&channel=fs&q=scrapy+shell+cut+links&ie=utf-8&oe=utf-8запрос идёт на
https://www.google.com/search?client=ubuntu