aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/InfoExtractors.py
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2013-06-06 15:07:05 +0200
committerFilippo Valsorda <filippo.valsorda@gmail.com>2013-06-06 15:07:05 +0200
commit476203d025dd2619ea9f9e2f99ffce507dec6596 (patch)
treeea9a98f23a3014ae97e14f9ddf3273b0d9255088 /youtube_dl/InfoExtractors.py
parent468e2e926b8d1f55d6ce67fee67e33a7fa6d8371 (diff)
print WARNINGs during test + minor fix to NBAIE
Diffstat (limited to 'youtube_dl/InfoExtractors.py')
-rwxr-xr-xyoutube_dl/InfoExtractors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index fbf40f3ca..0f1880756 100755
--- a/youtube_dl/InfoExtractors.py
+++ b/youtube_dl/InfoExtractors.py
@@ -3183,7 +3183,7 @@ class NBAIE(InfoExtractor):
uploader_date = self._search_regex(r'<b>Date:</b> (.*?)</div>', webpage, 'upload_date', fatal=False)
- description = self._search_regex(r'<div class="description">(.*?)</h1>', webpage, 'description', fatal=False)
+ description = self._search_regex(r'<meta name="description" (?:content|value)="(.*?)" />', webpage, 'description', fatal=False)
info = {
'id': shortened_video_id,