Support "newstyle" Youtube playlist IDs.
authorRogério Brito <rbrito@ime.usp.br>
Tue, 4 Oct 2011 00:36:32 +0000 (21:36 -0300)
committerRogério Brito <rbrito@ime.usp.br>
Tue, 4 Oct 2011 00:41:33 +0000 (21:41 -0300)
commit7125a7ca8b5e5228a8199cb95779f83fd3ee05e2
tree0a859b3000ad3af1fab353ee2acc0ec0425fa837
parent54d47874f7bff1688c7109b75abd0af55cc4c89e
Support "newstyle" Youtube playlist IDs.

Many playlists reported by Youtube now have the form like in:

    http://www.youtube.com/playlist?list=PL520044A3524F5E5D

where `PL` is prefixed to what youtube-dl used to use as playlist IDs. So,
while matching it, we adapt the regular expression so as to discard the `PL`
and only get the `520044A3524F5E5D` in the case of the playlist of the
example.
youtube-dl