Closed Mostafa-Mohamed-Atef closed 1 month ago
Describe the bug I tried downloading videos from youtube only 360p are available as the highest resolution, tried filtering by resolution and progressive=False but it downloads broken videos
Code def download(): global progress_bar try: yd = yt.streams.get_highest_resolution() print(yt.title) print(yd) progress_bar = tqdm(total=yd.filesize, unit='0', unit_scale=True, desc="Downloading") yd.download(path) progress_bar.close() print('completed') except Exception as e: print(e)
output
YouTube changed streams internally, see #128.
it worked thanks
Describe the bug I tried downloading videos from youtube only 360p are available as the highest resolution, tried filtering by resolution and progressive=False but it downloads broken videos
Code def download(): global progress_bar try: yd = yt.streams.get_highest_resolution() print(yt.title) print(yd) progress_bar = tqdm(total=yd.filesize, unit='0', unit_scale=True, desc="Downloading") yd.download(path) progress_bar.close() print('completed') except Exception as e: print(e)
output