diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-02-14 15:37:17 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-02-14 15:37:17 +0600 |
commit | 611c1dd96efc36a788475e14cc4de64d554d28a0 (patch) | |
tree | 4ac501e07c6ab8281c22de2d0ec577561e32465c /youtube_dl/extractor/kankan.py | |
parent | d800609c62703e4e6edd2891a8432306462e4db3 (diff) |
[refactor] Single quotes consistency
Diffstat (limited to 'youtube_dl/extractor/kankan.py')
-rw-r--r-- | youtube_dl/extractor/kankan.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/kankan.py b/youtube_dl/extractor/kankan.py index 364dc878e..a677ff447 100644 --- a/youtube_dl/extractor/kankan.py +++ b/youtube_dl/extractor/kankan.py @@ -28,7 +28,7 @@ class KankanIE(InfoExtractor): title = self._search_regex(r'(?:G_TITLE=|G_MOVIE_TITLE = )[\'"](.+?)[\'"]', webpage, 'video title') surls = re.search(r'surls:\[\'.+?\'\]|lurl:\'.+?\.flv\'', webpage).group(0) - gcids = re.findall(r"http://.+?/.+?/(.+?)/", surls) + gcids = re.findall(r'http://.+?/.+?/(.+?)/', surls) gcid = gcids[-1] info_url = 'http://p2s.cl.kankan.com/getCdnresource_flv?gcid=%s' % gcid |