Rene Smit
Rene Smit
Add `from pgzero.builtins import Actor, animate, keyboard` at the top.
> try this: open the file C:\Users\jjpj1390\AppData\Local\Programs\Python\Python310\lib\site-packages\pytube\cipher.py change line 272 ~ 273 > > ``` > r'a.[a-zA-Z]\s*&&\s*([a-z]\s*=\sa.get("n"))\s&&\s*' > r'([a-z]\s*=\s*([a-zA-Z0-9$]{2,3})([\d+])?([a-z])' > ``` > > and change line 288 ` nfunc=re.escape(function_match.group(1))),` To...
Replace this ``` map( lambda x: ( f"/watch?v=" f"{x['playlistVideoRenderer']['videoId']}" ), videos ) ``` by this ``` map( lambda x: f"/watch?v={x['playlistVideoRenderer']['videoId']}", filter(lambda x: 'playlistVideoRenderer' in x, videos) ) ```