Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[Telegraaf] Unable to extract player #9318
Comments
|
I lack the experience to fix this in Python, but in the html-source follow: ...
<iframe src="//content.tmgvideo.nl/embed/account=Kx1PKc/item=mZlp2ctYIUEB/tikibad-ontruimd-wegens-brand.html" ...></iframe>
...In there follow: StreamOnePlayer('video', {
...
playlist: "http://content.tmgvideo.nl/playlist/account=Kx1PKc/item=mZlp2ctYIUEB/playlist.json",
...
}The json's content: {
"items": [
{
"id": "mZlp2ctYIUEB",
"account": "Kx1PKc",
"audioonly": false,
"live": false,
"title": "Tikibad ontruimd wegens brand",
"description": "Het Tikibad in het Wassenaarse pretpark Duinrell is vrijdagavond ontruimd wegens brand. De brandweer is ter plekke, net zoals twee ambulances.",
"poster": "http://content.tmgvideo.nl/img/account=Kx1PKc/item=mZlp2ctYIUEB/thumbid=20/image.jpg",
"duration": 33,
"locations": {
"progressive": [
{
"label": "720p",
"height": 720,
"width": 1280,
"sources": [
{
"type": "video/mp4",
"src": "http://media.tmgvideo.nl/progressive/account=Kx1PKc/item=mZlp2ctYIUEB/file=G4kg2KPKIxAF/mZlp2ctYIUEB.mp4"
}
]
},
{
"label": "480p",
"height": 480,
"width": 854,
"sources": [
{
"type": "video/mp4",
"src": "http://media.tmgvideo.nl/progressive/account=Kx1PKc/item=mZlp2ctYIUEB/file=m59o-IbIKhEF/mZlp2ctYIUEB.mp4"
}
]
},
{
"label": "360p",
"height": 360,
"width": 640,
"sources": [
{
"type": "video/mp4",
"src": "http://media.tmgvideo.nl/progressive/account=Kx1PKc/item=mZlp2ctYIUEB/file=C49o2ILYKxkB/mZlp2ctYIUEB.mp4"
}
]
},
{
"label": "270p",
"height": 270,
"width": 480,
"sources": [
{
"type": "video/mp4",
"src": "http://media.tmgvideo.nl/progressive/account=Kx1PKc/item=mZlp2ctYIUEB/file=ix8g2KPaalEl/mZlp2ctYIUEB.mp4"
}
]
}
],
"adaptive": [
{
"type": "application/dash+xml",
"src": "http://media.tmgvideo.nl/dash/account=Kx1PKc/item=mZlp2ctYIUEB/mZlp2ctYIUEB.mpd"
},
{
"type": "application/x-mpegURL",
"src": "http://media.tmgvideo.nl/hls/account=Kx1PKc/item=mZlp2ctYIUEB/mZlp2ctYIUEB.m3u8"
}
]
}
}
]
}And I'm sure the developers here can extract all the video-formats from this json. |
|
Fixed. Thanks you all. |
Before submitting an issue make sure you have:
What is the purpose of your issue?