Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3638

Problem with localhost in python on online IDE

$
0
0

I use YoutubeAPI to upload videos on youtube.Yesterday I tested it and it is working but now If I can start a program and log in and set up youtube I can select google account and youtube channel, warning with the trust of the author and last window but after clicking on Yes I Trus of the author my computer say me. Localhost error.

I do not know why and where is problem BTW I use an OAuth 2.0 Desktop version and I use it in GoormIDE.

And if I tasted it in VS Code This is happening:

Traceback (most recent call last):  File "c:/Users/Lukas/Desktop/auto youtube channel/auto youtube channel .py", line 77, in <module>    downloadVideo(video_url)  File "c:/Users/Lukas/Desktop/auto youtube channel/auto youtube channel .py", line 70, in downloadVideo    video.streams.get_highest_resolution().download()  File "C:\Users\Lukas\AppData\Local\Programs\Python\Python38\lib\site-packages\pytube\__main__.py", line 292, in streams    return StreamQuery(self.fmt_streams)  File "C:\Users\Lukas\AppData\Local\Programs\Python\Python38\lib\site-packages\pytube\__main__.py", line 177, in fmt_streams    extract.apply_signature(stream_manifest, self.vid_info, self.js)  File "C:\Users\Lukas\AppData\Local\Programs\Python\Python38\lib\site-packages\pytube\extract.py", line 409, in apply_signature    cipher = Cipher(js=js)  File "C:\Users\Lukas\AppData\Local\Programs\Python\Python38\lib\site-packages\pytube\cipher.py", line 44, in __init__    self.throttling_array = get_throttling_function_array(js)  File "C:\Users\Lukas\AppData\Local\Programs\Python\Python38\lib\site-packages\pytube\cipher.py", line 323, in get_throttling_function_array    str_array = throttling_array_split(array_raw)  File "C:\Users\Lukas\AppData\Local\Programs\Python\Python38\lib\site-packages\pytube\parser.py", line 158, in throttling_array_split         match_start, match_end = match.span()AttributeError: 'NoneType' object has no attribute 'span'

Viewing all articles
Browse latest Browse all 3638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>