2014-11-23 20:41:03 +01:00
|
|
|
# coding: utf-8
|
2014-10-24 15:09:43 +02:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from .common import InfoExtractor
|
2015-05-07 15:07:11 +01:00
|
|
|
from ..utils import (
|
2015-05-07 15:09:27 +01:00
|
|
|
int_or_none,
|
2015-10-10 00:45:23 +01:00
|
|
|
unescapeHTML,
|
2015-05-07 15:07:11 +01:00
|
|
|
)
|
2014-10-24 15:09:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
class BildIE(InfoExtractor):
|
|
|
|
_VALID_URL = r'https?://(?:www\.)?bild\.de/(?:[^/]+/)+(?P<display_id>[^/]+)-(?P<id>\d+)(?:,auto=true)?\.bild\.html'
|
|
|
|
IE_DESC = 'Bild.de'
|
|
|
|
_TEST = {
|
|
|
|
'url': 'http://www.bild.de/video/clip/apple-ipad-air/das-koennen-die-neuen-ipads-38184146.bild.html',
|
|
|
|
'md5': 'dd495cbd99f2413502a1713a1156ac8a',
|
|
|
|
'info_dict': {
|
|
|
|
'id': '38184146',
|
|