mirror of
https://github.com/neosubhamoy/pytubepp.git
synced 2025-12-20 02:19:35 +05:30
(refactor): removed ANDROID_VR as it's now default from Pytubefix 7.0.0
This commit is contained in:
@@ -248,7 +248,7 @@ def set_global_video_info(link):
|
||||
if is_valid_url(link):
|
||||
global video, author, title, thumbnail, views, stream, stream_resolutions, maxres
|
||||
link = is_valid_url(link).group(1)
|
||||
video = YouTube(link, 'ANDROID_VR', on_progress_callback=progress)
|
||||
video = YouTube(link, on_progress_callback=progress)
|
||||
author = video.author
|
||||
title = re.sub(r'[\\/*?:"<>|]', '_', author + ' - ' + video.title)
|
||||
thumbnail = video.thumbnail_url
|
||||
|
||||
Reference in New Issue
Block a user