projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
382b818
)
[pokemon] PEP 8
author
Sergey M․
<dstftw@gmail.com>
Thu, 8 Feb 2018 16:04:20 +0000
(23:04 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 8 Feb 2018 16:04:20 +0000
(23:04 +0700)
youtube_dl/extractor/pokemon.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pokemon.py
b/youtube_dl/extractor/pokemon.py
index 4ff617163fb7711a4b83d169a6fb3c00f7e004e7..dd5f17f1192c3543636f6ff24624b0c9cc9a0bd6 100644
(file)
--- 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',