Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added el=detailpage to info url

  • Loading branch information...
commit d97a76bf75be2dbdb52c2afa47fed471aefc1b19 1 parent 800f2e5
craig authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/index.js
  2. +1 −1  test/main-test.js
View
2  lib/index.js
@@ -9,7 +9,7 @@ var FORMATS = require('./formats');
var parseTime = require('./util').parseTime;
-var INFO_URL = 'http://www.youtube.com/get_video_info?hl=en_US&video_id=';
+var INFO_URL = 'http://www.youtube.com/get_video_info?hl=en_US&el=detailpage&video_id=';
var KEYS_TO_SPLIT = [
'keywords'
, 'fmt_list'
View
2  test/main-test.js
@@ -9,7 +9,7 @@ var ytdl = require('..')
var HOST = 'http://www.youtube.com'
- , INFO_GET = '/get_video_info?hl=en_US&video_id='
+ , INFO_GET = '/get_video_info?hl=en_US&el=detailpage&video_id='
, URL = 'http://www.youtube.com/watch?v='
, id1 = '_HSylqgVYQI'
Please sign in to comment.
Something went wrong with that request. Please try again.