npo.py 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590
  1. from __future__ import unicode_literals
  2. import re
  3. from .common import InfoExtractor
  4. from ..compat import compat_HTTPError
  5. from ..utils import (
  6. fix_xml_ampersands,
  7. orderedSet,
  8. parse_duration,
  9. qualities,
  10. strip_jsonp,
  11. unified_strdate,
  12. ExtractorError,
  13. )
  14. class NPOBaseIE(InfoExtractor):
  15. def _get_token(self, video_id):
  16. token_page = self._download_webpage(
  17. 'http://ida.omroep.nl/npoplayer/i.js',
  18. video_id, note='Downloading token')
  19. token = self._search_regex(
  20. r'npoplayer\.token = "(.+?)"', token_page, 'token')
  21. # Decryption algorithm extracted from http://npoplayer.omroep.nl/csjs/npoplayer-min.js
  22. token_l = list(token)
  23. first = second = None
  24. for i in range(5, len(token_l) - 4):
  25. if token_l[i].isdigit():
  26. if first is None:
  27. first = i
  28. elif second is None:
  29. second = i
  30. if first is None or second is None:
  31. first = 12
  32. second = 13
  33. token_l[first], token_l[second] = token_l[second], token_l[first]
  34. return ''.join(token_l)
  35. class NPOIE(NPOBaseIE):
  36. IE_NAME = 'npo'
  37. IE_DESC = 'npo.nl and ntr.nl'
  38. _VALID_URL = r'''(?x)
  39. (?:
  40. npo:|
  41. https?://
  42. (?:www\.)?
  43. (?:
  44. npo\.nl/(?!live|radio)(?:[^/]+/){2}|
  45. ntr\.nl/(?:[^/]+/){2,}|
  46. omroepwnl\.nl/video/fragment/[^/]+__|
  47. zapp\.nl/[^/]+/(?:gemist|filmpjes)/
  48. )
  49. )
  50. (?P<id>[^/?#]+)
  51. '''
  52. _TESTS = [
  53. {
  54. 'url': 'http://www.npo.nl/nieuwsuur/22-06-2014/VPWON_1220719',
  55. 'md5': '4b3f9c429157ec4775f2c9cb7b911016',
  56. 'info_dict': {
  57. 'id': 'VPWON_1220719',
  58. 'ext': 'm4v',
  59. 'title': 'Nieuwsuur',
  60. 'description': 'Dagelijks tussen tien en elf: nieuws, sport en achtergronden.',
  61. 'upload_date': '20140622',
  62. },
  63. },
  64. {
  65. 'url': 'http://www.npo.nl/de-mega-mike-mega-thomas-show/27-02-2009/VARA_101191800',
  66. 'md5': 'da50a5787dbfc1603c4ad80f31c5120b',
  67. 'info_dict': {
  68. 'id': 'VARA_101191800',
  69. 'ext': 'm4v',
  70. 'title': 'De Mega Mike & Mega Thomas show: The best of.',
  71. 'description': 'md5:3b74c97fc9d6901d5a665aac0e5400f4',
  72. 'upload_date': '20090227',
  73. 'duration': 2400,
  74. },
  75. },
  76. {
  77. 'url': 'http://www.npo.nl/tegenlicht/25-02-2013/VPWON_1169289',
  78. 'md5': 'f8065e4e5a7824068ed3c7e783178f2c',
  79. 'info_dict': {
  80. 'id': 'VPWON_1169289',
  81. 'ext': 'm4v',
  82. 'title': 'Tegenlicht: De toekomst komt uit Afrika',
  83. 'description': 'md5:52cf4eefbc96fffcbdc06d024147abea',
  84. 'upload_date': '20130225',
  85. 'duration': 3000,
  86. },
  87. },
  88. {
  89. 'url': 'http://www.npo.nl/de-nieuwe-mens-deel-1/21-07-2010/WO_VPRO_043706',
  90. 'info_dict': {
  91. 'id': 'WO_VPRO_043706',
  92. 'ext': 'wmv',
  93. 'title': 'De nieuwe mens - Deel 1',
  94. 'description': 'md5:518ae51ba1293ffb80d8d8ce90b74e4b',
  95. 'duration': 4680,
  96. },
  97. 'params': {
  98. # mplayer mms download
  99. 'skip_download': True,
  100. }
  101. },
  102. # non asf in streams
  103. {
  104. 'url': 'http://www.npo.nl/hoe-gaat-europa-verder-na-parijs/10-01-2015/WO_NOS_762771',
  105. 'md5': 'b3da13de374cbe2d5332a7e910bef97f',
  106. 'info_dict': {
  107. 'id': 'WO_NOS_762771',
  108. 'ext': 'mp4',
  109. 'title': 'Hoe gaat Europa verder na Parijs?',
  110. },
  111. },
  112. {
  113. 'url': 'http://www.ntr.nl/Aap-Poot-Pies/27/detail/Aap-poot-pies/VPWON_1233944#content',
  114. 'md5': '01c6a2841675995da1f0cf776f03a9c3',
  115. 'info_dict': {
  116. 'id': 'VPWON_1233944',
  117. 'ext': 'm4v',
  118. 'title': 'Aap, poot, pies',
  119. 'description': 'md5:c9c8005d1869ae65b858e82c01a91fde',
  120. 'upload_date': '20150508',
  121. 'duration': 599,
  122. },
  123. },
  124. {
  125. 'url': 'http://www.omroepwnl.nl/video/fragment/vandaag-de-dag-verkiezingen__POMS_WNL_853698',
  126. 'md5': 'd30cd8417b8b9bca1fdff27428860d08',
  127. 'info_dict': {
  128. 'id': 'POW_00996502',
  129. 'ext': 'm4v',
  130. 'title': '''"Dit is wel een 'landslide'..."''',
  131. 'description': 'md5:f8d66d537dfb641380226e31ca57b8e8',
  132. 'upload_date': '20150508',
  133. 'duration': 462,
  134. },
  135. },
  136. {
  137. 'url': 'http://www.zapp.nl/de-bzt-show/gemist/KN_1687547',
  138. 'only_matching': True,
  139. },
  140. {
  141. 'url': 'http://www.zapp.nl/de-bzt-show/filmpjes/POMS_KN_7315118',
  142. 'only_matching': True,
  143. }
  144. ]
  145. def _real_extract(self, url):
  146. video_id = self._match_id(url)
  147. return self._get_info(video_id)
  148. def _get_info(self, video_id):
  149. metadata = self._download_json(
  150. 'http://e.omroep.nl/metadata/%s' % video_id,
  151. video_id,
  152. # We have to remove the javascript callback
  153. transform_source=strip_jsonp,
  154. )
  155. # For some videos actual video id (prid) is different (e.g. for
  156. # http://www.omroepwnl.nl/video/fragment/vandaag-de-dag-verkiezingen__POMS_WNL_853698
  157. # video id is POMS_WNL_853698 but prid is POW_00996502)
  158. video_id = metadata.get('prid') or video_id
  159. # titel is too generic in some cases so utilize aflevering_titel as well
  160. # when available (e.g. http://tegenlicht.vpro.nl/afleveringen/2014-2015/access-to-africa.html)
  161. title = metadata['titel']
  162. sub_title = metadata.get('aflevering_titel')
  163. if sub_title and sub_title != title:
  164. title += ': %s' % sub_title
  165. token = self._get_token(video_id)
  166. formats = []
  167. pubopties = metadata.get('pubopties')
  168. if pubopties:
  169. quality = qualities(['adaptive', 'wmv_sb', 'h264_sb', 'wmv_bb', 'h264_bb', 'wvc1_std', 'h264_std'])
  170. for format_id in pubopties:
  171. format_info = self._download_json(
  172. 'http://ida.omroep.nl/odi/?prid=%s&puboptions=%s&adaptive=yes&token=%s'
  173. % (video_id, format_id, token),
  174. video_id, 'Downloading %s JSON' % format_id)
  175. if format_info.get('error_code', 0) or format_info.get('errorcode', 0):
  176. continue
  177. streams = format_info.get('streams')
  178. if streams:
  179. try:
  180. video_info = self._download_json(
  181. streams[0] + '&type=json',
  182. video_id, 'Downloading %s stream JSON' % format_id)
  183. except ExtractorError as ee:
  184. if isinstance(ee.cause, compat_HTTPError) and ee.cause.code == 404:
  185. error = (self._parse_json(ee.cause.read().decode(), video_id, fatal=False) or {}).get('errorstring')
  186. if error:
  187. raise ExtractorError(error, expected=True)
  188. raise
  189. else:
  190. video_info = format_info
  191. video_url = video_info.get('url')
  192. if not video_url:
  193. continue
  194. if format_id == 'adaptive':
  195. formats.extend(self._extract_m3u8_formats(video_url, video_id, 'mp4'))
  196. else:
  197. formats.append({
  198. 'url': video_url,
  199. 'format_id': format_id,
  200. 'quality': quality(format_id),
  201. })
  202. streams = metadata.get('streams')
  203. if streams:
  204. for i, stream in enumerate(streams):
  205. stream_url = stream.get('url')
  206. if not stream_url:
  207. continue
  208. if '.asf' not in stream_url:
  209. formats.append({
  210. 'url': stream_url,
  211. 'quality': stream.get('kwaliteit'),
  212. })
  213. continue
  214. asx = self._download_xml(
  215. stream_url, video_id,
  216. 'Downloading stream %d ASX playlist' % i,
  217. transform_source=fix_xml_ampersands)
  218. ref = asx.find('./ENTRY/Ref')
  219. if ref is None:
  220. continue
  221. video_url = ref.get('href')
  222. if not video_url:
  223. continue
  224. formats.append({
  225. 'url': video_url,
  226. 'ext': stream.get('formaat', 'asf'),
  227. 'quality': stream.get('kwaliteit'),
  228. })
  229. self._sort_formats(formats)
  230. subtitles = {}
  231. if metadata.get('tt888') == 'ja':
  232. subtitles['nl'] = [{
  233. 'ext': 'vtt',
  234. 'url': 'http://tt888.omroep.nl/tt888/%s' % video_id,
  235. }]
  236. return {
  237. 'id': video_id,
  238. 'title': title,
  239. 'description': metadata.get('info'),
  240. 'thumbnail': metadata.get('images', [{'url': None}])[-1]['url'],
  241. 'upload_date': unified_strdate(metadata.get('gidsdatum')),
  242. 'duration': parse_duration(metadata.get('tijdsduur')),
  243. 'formats': formats,
  244. 'subtitles': subtitles,
  245. }
  246. class NPOLiveIE(NPOBaseIE):
  247. IE_NAME = 'npo.nl:live'
  248. _VALID_URL = r'https?://(?:www\.)?npo\.nl/live/(?P<id>.+)'
  249. _TEST = {
  250. 'url': 'http://www.npo.nl/live/npo-1',
  251. 'info_dict': {
  252. 'id': 'LI_NEDERLAND1_136692',
  253. 'display_id': 'npo-1',
  254. 'ext': 'mp4',
  255. 'title': 're:^Nederland 1 [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$',
  256. 'description': 'Livestream',
  257. 'is_live': True,
  258. },
  259. 'params': {
  260. 'skip_download': True,
  261. }
  262. }
  263. def _real_extract(self, url):
  264. display_id = self._match_id(url)
  265. webpage = self._download_webpage(url, display_id)
  266. live_id = self._search_regex(
  267. r'data-prid="([^"]+)"', webpage, 'live id')
  268. metadata = self._download_json(
  269. 'http://e.omroep.nl/metadata/%s' % live_id,
  270. display_id, transform_source=strip_jsonp)
  271. token = self._get_token(display_id)
  272. formats = []
  273. streams = metadata.get('streams')
  274. if streams:
  275. for stream in streams:
  276. stream_type = stream.get('type').lower()
  277. # smooth streaming is not supported
  278. if stream_type in ['ss', 'ms']:
  279. continue
  280. stream_info = self._download_json(
  281. 'http://ida.omroep.nl/aapi/?stream=%s&token=%s&type=jsonp'
  282. % (stream.get('url'), token),
  283. display_id, 'Downloading %s JSON' % stream_type)
  284. if stream_info.get('error_code', 0) or stream_info.get('errorcode', 0):
  285. continue
  286. stream_url = self._download_json(
  287. stream_info['stream'], display_id,
  288. 'Downloading %s URL' % stream_type,
  289. 'Unable to download %s URL' % stream_type,
  290. transform_source=strip_jsonp, fatal=False)
  291. if not stream_url:
  292. continue
  293. if stream_type == 'hds':
  294. f4m_formats = self._extract_f4m_formats(stream_url, display_id)
  295. # f4m downloader downloads only piece of live stream
  296. for f4m_format in f4m_formats:
  297. f4m_format['preference'] = -1
  298. formats.extend(f4m_formats)
  299. elif stream_type == 'hls':
  300. formats.extend(self._extract_m3u8_formats(stream_url, display_id, 'mp4'))
  301. else:
  302. formats.append({
  303. 'url': stream_url,
  304. 'preference': -10,
  305. })
  306. self._sort_formats(formats)
  307. return {
  308. 'id': live_id,
  309. 'display_id': display_id,
  310. 'title': self._live_title(metadata['titel']),
  311. 'description': metadata['info'],
  312. 'thumbnail': metadata.get('images', [{'url': None}])[-1]['url'],
  313. 'formats': formats,
  314. 'is_live': True,
  315. }
  316. class NPORadioIE(InfoExtractor):
  317. IE_NAME = 'npo.nl:radio'
  318. _VALID_URL = r'https?://(?:www\.)?npo\.nl/radio/(?P<id>[^/]+)/?$'
  319. _TEST = {
  320. 'url': 'http://www.npo.nl/radio/radio-1',
  321. 'info_dict': {
  322. 'id': 'radio-1',
  323. 'ext': 'mp3',
  324. 'title': 're:^NPO Radio 1 [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$',
  325. 'is_live': True,
  326. },
  327. 'params': {
  328. 'skip_download': True,
  329. }
  330. }
  331. @staticmethod
  332. def _html_get_attribute_regex(attribute):
  333. return r'{0}\s*=\s*\'([^\']+)\''.format(attribute)
  334. def _real_extract(self, url):
  335. video_id = self._match_id(url)
  336. webpage = self._download_webpage(url, video_id)
  337. title = self._html_search_regex(
  338. self._html_get_attribute_regex('data-channel'), webpage, 'title')
  339. stream = self._parse_json(
  340. self._html_search_regex(self._html_get_attribute_regex('data-streams'), webpage, 'data-streams'),
  341. video_id)
  342. codec = stream.get('codec')
  343. return {
  344. 'id': video_id,
  345. 'url': stream['url'],
  346. 'title': self._live_title(title),
  347. 'acodec': codec,
  348. 'ext': codec,
  349. 'is_live': True,
  350. }
  351. class NPORadioFragmentIE(InfoExtractor):
  352. IE_NAME = 'npo.nl:radio:fragment'
  353. _VALID_URL = r'https?://(?:www\.)?npo\.nl/radio/[^/]+/fragment/(?P<id>\d+)'
  354. _TEST = {
  355. 'url': 'http://www.npo.nl/radio/radio-5/fragment/174356',
  356. 'md5': 'dd8cc470dad764d0fdc70a9a1e2d18c2',
  357. 'info_dict': {
  358. 'id': '174356',
  359. 'ext': 'mp3',
  360. 'title': 'Jubileumconcert Willeke Alberti',
  361. },
  362. }
  363. def _real_extract(self, url):
  364. audio_id = self._match_id(url)
  365. webpage = self._download_webpage(url, audio_id)
  366. title = self._html_search_regex(
  367. r'href="/radio/[^/]+/fragment/%s" title="([^"]+)"' % audio_id,
  368. webpage, 'title')
  369. audio_url = self._search_regex(
  370. r"data-streams='([^']+)'", webpage, 'audio url')
  371. return {
  372. 'id': audio_id,
  373. 'url': audio_url,
  374. 'title': title,
  375. }
  376. class NPODataMidEmbedIE(InfoExtractor):
  377. def _real_extract(self, url):
  378. display_id = self._match_id(url)
  379. webpage = self._download_webpage(url, display_id)
  380. video_id = self._search_regex(
  381. r'data-mid=(["\'])(?P<id>(?:(?!\1).)+)\1', webpage, 'video_id', group='id')
  382. return {
  383. '_type': 'url_transparent',
  384. 'ie_key': 'NPO',
  385. 'url': 'npo:%s' % video_id,
  386. 'display_id': display_id
  387. }
  388. class SchoolTVIE(NPODataMidEmbedIE):
  389. IE_NAME = 'schooltv'
  390. _VALID_URL = r'https?://(?:www\.)?schooltv\.nl/video/(?P<id>[^/?#&]+)'
  391. _TEST = {
  392. 'url': 'http://www.schooltv.nl/video/ademhaling-de-hele-dag-haal-je-adem-maar-wat-gebeurt-er-dan-eigenlijk-in-je-lichaam/',
  393. 'info_dict': {
  394. 'id': 'WO_NTR_429477',
  395. 'display_id': 'ademhaling-de-hele-dag-haal-je-adem-maar-wat-gebeurt-er-dan-eigenlijk-in-je-lichaam',
  396. 'title': 'Ademhaling: De hele dag haal je adem. Maar wat gebeurt er dan eigenlijk in je lichaam?',
  397. 'ext': 'mp4',
  398. 'description': 'md5:abfa0ff690adb73fd0297fd033aaa631'
  399. },
  400. 'params': {
  401. # Skip because of m3u8 download
  402. 'skip_download': True
  403. }
  404. }
  405. class HetKlokhuisIE(NPODataMidEmbedIE):
  406. IE_NAME = 'hetklokhuis'
  407. _VALID_URL = r'https?://(?:www\.)?hetklokhuis.nl/[^/]+/\d+/(?P<id>[^/?#&]+)'
  408. _TEST = {
  409. 'url': 'http://hetklokhuis.nl/tv-uitzending/3471/Zwaartekrachtsgolven',
  410. 'info_dict': {
  411. 'id': 'VPWON_1260528',
  412. 'display_id': 'Zwaartekrachtsgolven',
  413. 'ext': 'm4v',
  414. 'title': 'Het Klokhuis: Zwaartekrachtsgolven',
  415. 'description': 'md5:c94f31fb930d76c2efa4a4a71651dd48',
  416. 'upload_date': '20170223',
  417. },
  418. 'params': {
  419. 'skip_download': True
  420. }
  421. }
  422. class NPOPlaylistBaseIE(NPOIE):
  423. def _real_extract(self, url):
  424. playlist_id = self._match_id(url)
  425. webpage = self._download_webpage(url, playlist_id)
  426. entries = [
  427. self.url_result('npo:%s' % video_id if not video_id.startswith('http') else video_id)
  428. for video_id in orderedSet(re.findall(self._PLAYLIST_ENTRY_RE, webpage))
  429. ]
  430. playlist_title = self._html_search_regex(
  431. self._PLAYLIST_TITLE_RE, webpage, 'playlist title',
  432. default=None) or self._og_search_title(webpage)
  433. return self.playlist_result(entries, playlist_id, playlist_title)
  434. class VPROIE(NPOPlaylistBaseIE):
  435. IE_NAME = 'vpro'
  436. _VALID_URL = r'https?://(?:www\.)?(?:(?:tegenlicht\.)?vpro|2doc)\.nl/(?:[^/]+/)*(?P<id>[^/]+)\.html'
  437. _PLAYLIST_TITLE_RE = (r'<h1[^>]+class=["\'].*?\bmedia-platform-title\b.*?["\'][^>]*>([^<]+)',
  438. r'<h5[^>]+class=["\'].*?\bmedia-platform-subtitle\b.*?["\'][^>]*>([^<]+)')
  439. _PLAYLIST_ENTRY_RE = r'data-media-id="([^"]+)"'
  440. _TESTS = [
  441. {
  442. 'url': 'http://tegenlicht.vpro.nl/afleveringen/2012-2013/de-toekomst-komt-uit-afrika.html',
  443. 'md5': 'f8065e4e5a7824068ed3c7e783178f2c',
  444. 'info_dict': {
  445. 'id': 'VPWON_1169289',
  446. 'ext': 'm4v',
  447. 'title': 'De toekomst komt uit Afrika',
  448. 'description': 'md5:52cf4eefbc96fffcbdc06d024147abea',
  449. 'upload_date': '20130225',
  450. },
  451. 'skip': 'Video gone',
  452. },
  453. {
  454. 'url': 'http://www.vpro.nl/programmas/2doc/2015/sergio-herman.html',
  455. 'info_dict': {
  456. 'id': 'sergio-herman',
  457. 'title': 'sergio herman: fucking perfect',
  458. },
  459. 'playlist_count': 2,
  460. },
  461. {
  462. # playlist with youtube embed
  463. 'url': 'http://www.vpro.nl/programmas/2doc/2015/education-education.html',
  464. 'info_dict': {
  465. 'id': 'education-education',
  466. 'title': 'education education',
  467. },
  468. 'playlist_count': 2,
  469. },
  470. {
  471. 'url': 'http://www.2doc.nl/documentaires/series/2doc/2015/oktober/de-tegenprestatie.html',
  472. 'info_dict': {
  473. 'id': 'de-tegenprestatie',
  474. 'title': 'De Tegenprestatie',
  475. },
  476. 'playlist_count': 2,
  477. }, {
  478. 'url': 'http://www.2doc.nl/speel~VARA_101375237~mh17-het-verdriet-van-nederland~.html',
  479. 'info_dict': {
  480. 'id': 'VARA_101375237',
  481. 'ext': 'm4v',
  482. 'title': 'MH17: Het verdriet van Nederland',
  483. 'description': 'md5:09e1a37c1fdb144621e22479691a9f18',
  484. 'upload_date': '20150716',
  485. },
  486. 'params': {
  487. # Skip because of m3u8 download
  488. 'skip_download': True
  489. },
  490. }
  491. ]
  492. class WNLIE(NPOPlaylistBaseIE):
  493. IE_NAME = 'wnl'
  494. _VALID_URL = r'https?://(?:www\.)?omroepwnl\.nl/video/detail/(?P<id>[^/]+)__\d+'
  495. _PLAYLIST_TITLE_RE = r'(?s)<h1[^>]+class="subject"[^>]*>(.+?)</h1>'
  496. _PLAYLIST_ENTRY_RE = r'<a[^>]+href="([^"]+)"[^>]+class="js-mid"[^>]*>Deel \d+'
  497. _TESTS = [{
  498. 'url': 'http://www.omroepwnl.nl/video/detail/vandaag-de-dag-6-mei__060515',
  499. 'info_dict': {
  500. 'id': 'vandaag-de-dag-6-mei',
  501. 'title': 'Vandaag de Dag 6 mei',
  502. },
  503. 'playlist_count': 4,
  504. }]
  505. class AndereTijdenIE(NPOPlaylistBaseIE):
  506. IE_NAME = 'anderetijden'
  507. _VALID_URL = r'https?://(?:www\.)?anderetijden\.nl/programma/(?:[^/]+/)+(?P<id>[^/?#&]+)'
  508. _PLAYLIST_TITLE_RE = r'(?s)<h1[^>]+class=["\'].*?\bpage-title\b.*?["\'][^>]*>(.+?)</h1>'
  509. _PLAYLIST_ENTRY_RE = r'<figure[^>]+class=["\']episode-container episode-page["\'][^>]+data-prid=["\'](.+?)["\']'
  510. _TESTS = [{
  511. 'url': 'http://anderetijden.nl/programma/1/Andere-Tijden/aflevering/676/Duitse-soldaten-over-de-Slag-bij-Arnhem',
  512. 'info_dict': {
  513. 'id': 'Duitse-soldaten-over-de-Slag-bij-Arnhem',
  514. 'title': 'Duitse soldaten over de Slag bij Arnhem',
  515. },
  516. 'playlist_count': 3,
  517. }]