Request video info webpage using "embedded" instead of "detailpage"
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Thu, 1 Apr 2010 18:46:00 +0000 (20:46 +0200)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:26:48 +0000 (11:26 +0100)
commit2ed1ddd0a0dd73f69b3b7f1fc9102fdc028735aa
tree1770781679fcbd2c29210c9bc5fadc4700e17ea9
parenteaf4a7288dc285f10cd5745432129be29cf770a3
Request video info webpage using "embedded" instead of "detailpage"

In the request for get_video_info, use el=embedded instead of el=detailpage, as
if the request was coming from an embedded video player instead of the video
webpage. This created problems for some videos, with YouTube replying with
"Invalid parameters". This fixes issue #109 and fixes issue #110.
youtube-dl