[pornhub] Fix video url regular expression.
authorGeorge Brighton <george@gebn.co.uk>
Sun, 2 Aug 2015 18:21:10 +0000 (19:21 +0100)
committerSergey M․ <dstftw@gmail.com>
Sun, 2 Aug 2015 20:35:06 +0000 (02:35 +0600)
commit754e70cf3e74218ae5d840985fbf07bbe274332a
treef73567f7944cda7d43880f6619b3e147463a44b8
parent84bc4dcb0f678f0a8c9f993e101b9769e3959f76
[pornhub] Fix video url regular expression.

PornHub seems to have subtly changed their JavaScript. Before, video URL strings were embedded directly in the video's `flashvars_*` object, but they are now assigned to variables of the form `player_quality_*`, which are then added to this object later under the relevant quality key.
youtube_dl/extractor/pornhub.py