diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-02-08 23:04:20 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-02-08 23:04:20 +0700 |
commit | 4fac463d70536fd4197aa510c100188d8cec0635 (patch) | |
tree | 529cf463f9c34489e683b7b6db6895f5716ea82a | |
parent | 382b8182ce5004cf82166647e98ced0314b65850 (diff) |
[pokemon] PEP 8
-rw-r--r-- | youtube_dl/extractor/pokemon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pokemon.py b/youtube_dl/extractor/pokemon.py index 4ff617163..dd5f17f11 100644 --- a/youtube_dl/extractor/pokemon.py +++ b/youtube_dl/extractor/pokemon.py @@ -58,7 +58,7 @@ class PokemonIE(InfoExtractor): webpage, 'video data element')) video_id = video_data['data-video-id'] title = video_data.get('data-video-title') or self._html_search_meta( - 'pkm-title', webpage,' title', default=None) or self._search_regex( + 'pkm-title', webpage, ' title', default=None) or self._search_regex( r'<h1[^>]+\bclass=["\']us-title[^>]+>([^<]+)', webpage, 'title') return { '_type': 'url_transparent', |