
здесь:
с bs4?
Использование
Код: Выделить всё
from bs4 import BeautifulSoup as bs
import requests
r = requests.get('https://www.youtube.com/watch?v=OIhVs0FQ8xc&list=RDOIhVs0FQ8xc&index=1')
page = r.text
soup=bs(page,'html.parser')
#print(soup)
res=soup.find_all('ytd-playlist-panel-video-renderer')
print(res)
Подробнее здесь: https://stackoverflow.com/questions/631 ... ith-python
Мобильная версия