2 from __future__ import unicode_literals
4 from .common import InfoExtractor
5 from .ooyala import OoyalaIE
8 class GodTVIE(InfoExtractor):
9 _VALID_URL = r'https?://(?:www\.)?god\.tv(?:/[^/]+)+/(?P<id>[^/?#&]+)'
11 'url': 'http://god.tv/jesus-image/video/jesus-conference-2016/randy-needham',
13 'id': 'lpd3g2MzE6D1g8zFAKz8AGpxWcpu6o_3',
15 'title': 'Randy Needham',
19 'skip_download': True,
23 def _real_extract(self, url):
24 display_id = self._match_id(url)
26 webpage = self._download_webpage(url, display_id)
27 ooyala_id = self._search_regex(r'"content_id"\s*:\s*"([\w-]{32})"', webpage, display_id)
29 return OoyalaIE._build_url_result(ooyala_id)