projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbcd1a5
)
[dramafever:series] Fix extraction while authenticated
author
Sergey M․
<dstftw@gmail.com>
Fri, 19 Jun 2015 16:02:07 +0000
(22:02 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 19 Jun 2015 16:02:07 +0000
(22:02 +0600)
youtube_dl/extractor/dramafever.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dramafever.py
b/youtube_dl/extractor/dramafever.py
index cfbcddcef2973e88216e96a3929c69a16bca7744..ca41a3abf324a9c2237c02047f7384f5ecc9cff6 100644
(file)
--- a/
youtube_dl/extractor/dramafever.py
+++ b/
youtube_dl/extractor/dramafever.py
@@
-185,8
+185,11
@@
class DramaFeverSeriesIE(DramaFeverBaseIE):
% (consumer_secret, series_id, self._PAGE_SIZE, page_num),
series_id, 'Downloading episodes JSON page #%d' % page_num)
for episode in episodes.get('value', []):
+ episode_url = episode.get('episode_url')
+ if not episode_url:
+ continue
entries.append(self.url_result(
- compat_urlparse.urljoin(url, episode
['episode_url']
),
+ compat_urlparse.urljoin(url, episode
_url
),
'DramaFever', episode.get('guid')))
if page_num == episodes['num_pages']:
break