Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CT: urllib.error.HTTPError: HTTP Error 404: Not Found #26

Closed
radoslavhorak opened this issue Jan 8, 2014 · 3 comments
Closed

CT: urllib.error.HTTPError: HTTP Error 404: Not Found #26

radoslavhorak opened this issue Jan 8, 2014 · 3 comments

Comments

@radoslavhorak
Copy link

$ ./tv-dl http://www.ceskatelevize.cz/ivysilani/1100267182-chaloupka-na-vrsku/211543116010007
Traceback (most recent call last):
  File "./tv-dl", line 123, in <module>
    downloader.main()
  File "./tv-dl", line 29, in main
    e = self.get_engine(self.args.URL)[2](self.args.URL)
  File "/home/horakr/tv-dl-master/engines/ct.py", line 70, in __init__
    pl_url = unquote( urlopen(req).read().decode('utf-8') )
  File "/usr/lib/python3.2/urllib/request.py", line 139, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.2/urllib/request.py", line 376, in open
    response = meth(req, response)
  File "/usr/lib/python3.2/urllib/request.py", line 488, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.2/urllib/request.py", line 414, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.2/urllib/request.py", line 348, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.2/urllib/request.py", line 496, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Na webu iVysilani lze video prehrat:

HTTP GET http://cdnls01.nacevi.cz/ls/ClientLink?id=HP9YYaWrpFZoIzw1 vratil

<data>
  <smilRoot>
    <body>
      <switchItem id="0-211 543 11601/0007" base="rtmp://wcdn102.nacevi.cz/ct-vod/_definst_?id=HRyeEqONk99toVy-01&amp;publisher=lss" begin="0" duration="430" clipBegin="0" type="recorded" stat="ProjectId=3;ApplicationId=4;NodeId=10">
        <video src="mp4:iVysilani/2013/12/12/ChaloupkaNaVrskuCT-121213-MP4_720p.mp4" system-bitrate="3500" label="720p" enabled="true" />
        <video src="mp4:iVysilani/2013/12/12/ChaloupkaNaVrskuCT-121213-MP4_576p.1.mp4" system-bitrate="2000" label="576p" enabled="true" />
        <video src="mp4:iVysilani/2013/12/12/ChaloupkaNaVrskuCT-121213-MP4_404p.1.mp4" system-bitrate="1000" label="404p" enabled="true" />
        <video src="mp4:iVysilani/2013/12/12/ChaloupkaNaVrskuCT-121213-MP4_288p.1.mp4" system-bitrate="500" label="288p" enabled="true" />
      </switchItem>
    </body>
  </smilRoot>
  <metaDataRoot>
    <Gemius>
      <Param name="IDENTIFIER" value=".RblRK9yUaSfpdgRNj4PSKcVjzMUGk8hdyABykduxPH..7" />
      <Param name="PREFIX" value="scz" />
      <Param name="HITCOLLECTOR" value="http://scz.hit.gemius.pl" />
    </Gemius>
    <PreviewImageURL />
    <rStats url="http://client01.rstats.visual.cz/LoggerHandler/LoggerHandler.ashx" enabled="true" />
    <Playlist>
      <PlaylistItem id="0-211 543 11601/0007">
        <Title>Chaloupka na vršku</Title>
        <SubtitlesURL>http://img.ceskatelevize.cz/ivysilani/subtitles/211/211543116010007/subtitles-1.txt</SubtitlesURL>
        <Indexes />
        <Gemius>
          <Param name="NAZEV" value="chaloupka-na-vrsku - jak-to-bylo-na-dusicky" />
          <Param name="TYP" value="VOD" />
          <Param name="ZDROJ" value="" />
          <Param name="CIL" value="IVYSILANI" />
          <Param name="KATEGORIE" value="072" />
          <Param name="GA" value="" />
        </Gemius>
        <Preview type="L1" url="http://img-a.nacevi.cz/3/67/25/15" i="2" h="72" r="10" c="10" />
      </PlaylistItem>
    </Playlist>
    <Options>
      <Param name="BWCheck.Enabled" value="True" />
      <Param name="BWCheck.Count" value="-1" />
      <Param name="BWCheck.Interval" value="300" />
    </Options>
  </metaDataRoot>
</data>
@Limoto
Copy link
Owner

Limoto commented Jan 9, 2014

Díky za nahlášení, opraveno.

@Limoto Limoto closed this as completed Jan 9, 2014
@radoslavhorak
Copy link
Author

super, diky

@Honzeen
Copy link

Honzeen commented Jan 22, 2015

jak lze stáhnout kompletní opravenou verzi ? ( "git clone https://github.com/Limoto/tv-dl" dá starou verzi )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants