aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/izlesene.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-04-12 18:29:28 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-04-12 18:29:28 +0800
commitc9d448876f7380d7e37c67981d8cb96c5cf0a153 (patch)
treee9b247b70af3ea430e2302d391b1f45eaabb7047 /youtube_dl/extractor/izlesene.py
parent8865b8abfd266dee688f0a4c022109eb0f20aaaf (diff)
downloadyoutube-dl-c9d448876f7380d7e37c67981d8cb96c5cf0a153.zip
youtube-dl-c9d448876f7380d7e37c67981d8cb96c5cf0a153.tar.gz
youtube-dl-c9d448876f7380d7e37c67981d8cb96c5cf0a153.tar.bz2
[izlesene] Fix extraction
description may be absent
Diffstat (limited to 'youtube_dl/extractor/izlesene.py')
-rw-r--r--youtube_dl/extractor/izlesene.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/youtube_dl/extractor/izlesene.py b/youtube_dl/extractor/izlesene.py
index bc226fa..aa0728a 100644
--- a/youtube_dl/extractor/izlesene.py
+++ b/youtube_dl/extractor/izlesene.py
@@ -29,7 +29,7 @@ class IzleseneIE(InfoExtractor):
'ext': 'mp4',
'title': 'Sevinçten Çıldırtan Doğum Günü Hediyesi',
'description': 'md5:253753e2655dde93f59f74b572454f6d',
- 'thumbnail': 're:^http://.*\.jpg',
+ 'thumbnail': 're:^https?://.*\.jpg',
'uploader_id': 'pelikzzle',
'timestamp': int,
'upload_date': '20140702',
@@ -44,8 +44,7 @@ class IzleseneIE(InfoExtractor):
'id': '17997',
'ext': 'mp4',
'title': 'Tarkan Dortmund 2006 Konseri',
- 'description': 'Tarkan Dortmund 2006 Konseri',
- 'thumbnail': 're:^http://.*\.jpg',
+ 'thumbnail': 're:^https://.*\.jpg',
'uploader_id': 'parlayankiz',
'timestamp': int,
'upload_date': '20061112',
@@ -62,7 +61,7 @@ class IzleseneIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
title = self._og_search_title(webpage)
- description = self._og_search_description(webpage)
+ description = self._og_search_description(webpage, default=None)
thumbnail = self._proto_relative_url(
self._og_search_thumbnail(webpage), scheme='http:')