jashandeep-sohi / itv Goto Github PK
View Code? Open in Web Editor NEWDownload ITV Player programmes.
License: GNU General Public License v3.0
Download ITV Player programmes.
License: GNU General Public License v3.0
Hi! Thanks for this - was just wondering whether it still worked? Installed fine but when I try to download I get an error - eg.
$ itv.py https://www.itv.com/hub/the-olivier-awards-the-biggest-night-in-british-theatre/2a2330a0006
usage: itv.py [-h] [-d DIR] [-s START] [-e END] [-p PROXY] [-r | -R]
url [filename]
itv.py: error: InvalidVodcrid; No match found for production id: https://magni.itv.com/playlist/itvonline/ITV/2_2330_0006.001
Many thanks
Looks like this is no longer working
itv.py https://www.itv.com/hub/tour-de-france/1a7000a0231
Traceback (most recent call last):
File "/home/martinb/bin/itv.py", line 167, in <module>
media_req_tree = etree.fromstring(media_req.text)
File "lxml.etree.pyx", line 3032, in lxml.etree.fromstring (src/lxml/lxml.etree.c:68106)
File "parser.pxi", line 1785, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:102455)
File "parser.pxi", line 1666, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:101214)
File "parser.pxi", line 1035, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:96124)
File "parser.pxi", line 582, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:91275)
File "parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:92461)
File "parser.pxi", line 622, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:91757)
lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: P line 6 and BODY, line 8, column 8
This is because:
--> 170 media_req_tree = etree.fromstring(media_req.text)
171
ipdb> media_req
<Response [403]>
ipdb> media_req.text
u'<HTML><HEAD>\n<TITLE>Access Denied</TITLE>\n</HEAD><BODY>\n<H1>Access Denied</H1>\n \nYou don\'t have permission to access "http://mercury.itv.com/PlaylistService.svc" on this server.<P>\nReference #18.35678251.1531088281.1ea614c7\n</BODY>\n</HTML>\n'
https://github.com/rg3/youtube-dl supports ITV Hub
You app has been working flawlessly, (thanks so much for creating it BTW :)) until today.
$ itv.py http://www.itv.com/hub/aviva-premiership-highlights/1a7211a0198
Gives 'itv.py: error: could not parse video pid from page' error.
Ignore this, didn't have a dependency installed. Happy to report works fine. Nice job!
ITV.com have changed something in the last few hours causing this script to fail.
This URL: https://www.itv.com/hub/coronation-street/1a0694a9210
Returns this: itv.py: error: InvalidVodcrid; No match found for production id: https://old-origin-api.itv.com/playlist/itvonline/ITV/1_0694_9210.001
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.