Skip to content

Commit e75c778

Browse files
committed
- Temporary fix for the 404 Error on get_video_info request.
Kudos to ytdl-org/youtube-dl#29333 (comment)
1 parent d8f474e commit e75c778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WWW/YoutubeViewer.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ my %valid_options = (
111111
feeds_url => {valid => q[], default => 'https://www.googleapis.com/youtube/v3/'},
112112
video_info_url => {valid => q[], default => 'https://www.youtube.com/get_video_info'},
113113
oauth_url => {valid => q[], default => 'https://accounts.google.com/o/oauth2/'},
114-
video_info_args => {valid => q[], default => '?video_id=%s&el=detailpage&ps=default&eurl=&gl=US&hl=en&html5=1'},
114+
video_info_args => {valid => q[], default => '?video_id=%s&el=detailpage&ps=default&eurl=&gl=US&hl=en&html5=1&c=TVHTML5&cver=6.20180913'},
115115
www_content_type => {valid => q[], default => 'application/x-www-form-urlencoded'},
116116

117117
#<<<

0 commit comments

Comments
 (0)