{"action":"closed","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/4680","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/4680/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/4680/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/4680/events","html_url":"https://github.com/rg3/youtube-dl/issues/4680","id":53989657,"number":4680,"title":"[Request / Bug] npo.nl video fragments (with possible memory leak)","user":{"login":"corone17","id":8537830,"avatar_url":"https://avatars.githubusercontent.com/u/8537830?v=3","gravatar_id":"","url":"https://api.github.com/users/corone17","html_url":"https://github.com/corone17","followers_url":"https://api.github.com/users/corone17/followers","following_url":"https://api.github.com/users/corone17/following{/other_user}","gists_url":"https://api.github.com/users/corone17/gists{/gist_id}","starred_url":"https://api.github.com/users/corone17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corone17/subscriptions","organizations_url":"https://api.github.com/users/corone17/orgs","repos_url":"https://api.github.com/users/corone17/repos","events_url":"https://api.github.com/users/corone17/events{/privacy}","received_events_url":"https://api.github.com/users/corone17/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-11T11:54:38Z","updated_at":"2015-01-11T17:19:14Z","closed_at":"2015-01-11T17:19:14Z","body":"At the moment youtube-dl supports the HTTP Live Streams from npo.nl, but on npo.nl you can also watch video-fragments (progressive mp4-files), especially from newsbroadcasts.\r\nThis one for instance: http://www.npo.nl/hoe-gaat-europa-verder-na-parijs/10-01-2015/WO_NOS_762771.\r\n\r\nThe html-source of interest of that page I believe starts at line 276:\r\n```html\r\n<div class='program-show-page'>\r\n<div class='showcase showcase-fluid with-player program-player' id='header'>\r\n<div class='showcase-background' style=''>\r\n<div class='showcase-wrapper'>\r\n<div class='info no-overlay-for-small-screen'>\r\n<div class='container'>\r\n<div class='row-fluid title-and-broadcasters'>\r\n<div class='broadcaster-logo'><a href=\"http://www.nos.nl\" data-scorecard=\"{&quot;name&quot;:\r\n&quot;nos&quot;,&quot;prefix&quot;:&quot;npo.softclick.programmas.extern&quot;}\" target=\"_bl\r\nank\" title=\"NOS\"><img alt=\"Logo van NOS\" class=\"no-shadow\" src=\"//assets.www.npo.nl/uploads/\r\nbroadcaster/32/logo/regular_NOS.png\" /></a></div>\r\n<h1>Hoe gaat Europa verder na Parijs?</h1>\r\n</div>\r\n<div class='row-fluid videoplayer-and-metadata'>\r\n<div class='span-main player-span'>\r\n<div class=\"video-player-container\" data-prid=\"WO_NOS_762771\" data-video-player=\"true\" id=\"v\r\nideo-player-container\" itemscope=\"\" itemtype=\"http://schema.org/VideoObject\"><meta content=\"\r\nHoe gaat Europa verder na Parijs?\" itemprop=\"name\" /><meta content=\"\" itemprop=\"description\"\r\n /><meta itemprop=\"thumbnailUrl\" /><meta itemprop=\"duration\" /><div class=\"video-player-hold\r\ner\" id=\"video-player\"></div></div>\r\n<div class=\"video-player-settings\"><div class=\"duration-and-views\"></div><a href=\"#\" class=\"\r\ntoggle-player-size\" data-scorecard=\"{&quot;name&quot;:&quot;beeld-vergroten&quot;,&quot;pref\r\nix&quot;:&quot;npo.softclick.programmas&quot;}\" data-toggle-player-size=\"\" title=\"Beeld verg\r\nroten / verkleinen\"><span class=\"enlarge\"><span class=\"npo-glyph expand\"></span></span><span\r\n class=\"shrink\"><span class=\"npo-glyph shrink\"></span></span></a><a href=\"#\" data-scorecard=\r\n\"{&quot;name&quot;:&quot;buitenland&quot;,&quot;prefix&quot;:&quot;npo.softclick.programmas&\r\nquot;}\" data-toggle-player-settings=\"\" title=\"Instellingen\"><span class=\"npo-glyph cog\"></sp\r\nan></a></div>\r\n</div>\r\n```\r\n\r\nWith the help of the Firefox addon 'DownloadHelper' the mp4-link for this video-fragment is: http://content1b.omroep.nl/urishieldv2/l27m4cf5841b713232ec0054b25e0a000000.42d94565c59f61f2c9d0f5bd05ef652a/nos/content/mp4/web03/2015/01/10/230394.mp4\r\n\r\nYoutube-dl however puts out the following:\r\n```\r\nyoutube-dl.exe -vF http://www.npo.nl/hoe-gaat-europa-verder-na-parijs/10-01-2015/WO_NOS_762771\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Command-line args: ['-vF', 'http://www.npo.nl/hoe-gaat-europa-verder-na-parijs/10-01-2015/WO_NOS_762771']\r\n[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252\r\n[debug] youtube-dl version 2015.01.10.2\r\n[debug] Python version 2.7.8 - Windows-XP-5.1.2600-SP3\r\n[debug] exe versions: ffmpeg N-65810-g1b5ec6a\r\n[debug] Proxy map: {}\r\n[npo.nl] WO_NOS_762771: Downloading JSON metadata\r\n[npo.nl] WO_NOS_762771: Downloading token\r\n[npo.nl] WO_NOS_762771: Downloading stream 0 ASX playlist\r\n```\r\n...and after a couple of minutes and a 1GB larger pagefile...\r\n```\r\nTraceback (most recent call last):\r\n  File \"__main__.py\", line 19, in <module>\r\n  File \"youtube_dl\\__init__.pyo\", line 365, in main\r\n  File \"youtube_dl\\__init__.pyo\", line 355, in _real_main\r\n  File \"youtube_dl\\YoutubeDL.pyo\", line 1208, in download\r\n  File \"youtube_dl\\YoutubeDL.pyo\", line 600, in extract_info\r\n  File \"youtube_dl\\extractor\\common.pyo\", line 260, in extract\r\n  File \"youtube_dl\\extractor\\npo.pyo\", line 75, in _real_extract\r\n  File \"youtube_dl\\extractor\\npo.pyo\", line 131, in _get_info\r\n  File \"youtube_dl\\extractor\\common.pyo\", line 411, in _download_xml\r\n  File \"xml\\etree\\ElementTree.pyo\", line 1300, in XML\r\n  File \"xml\\etree\\ElementTree.pyo\", line 1642, in feed\r\n  File \"xml\\etree\\ElementTree.pyo\", line 1506, in _raiseerror\r\nxml.etree.ElementTree.ParseError: out of memory: line 1, column 0\r\n```"}}