Correctly parse the player URL in RTMP downloads (closes #11)
authorjamiejones <github@jamie.bishopston.com>
Tue, 16 Nov 2010 21:52:23 +0000 (13:52 -0800)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Wed, 17 Nov 2010 19:43:27 +0000 (20:43 +0100)
commitb620a5f811d94a0296a9809391e3a121ad8d68e9
treeba4893d5094a6b445865c5d91930eba352ca1b5a
parent5e596cac0adcb7e4321f0c9d84e1a813ab26777e
Correctly parse the player URL in RTMP downloads (closes #11)

Fixed several problems courtesy of jamiejones:

The parsing for the SWF url was wrong (the "//" are now escaped and the
initial .*match needs to be 'ungreedy'), so the -W setting to rtmpdump
was not set, causing the decryption of the video to be wrong.

Finally, add "&amp;has_verified=1" to the fetch of the HMTL page to
allow fetching of age-restricted videos.
youtube-dl [changed mode: 0755->0644]