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

vimeo: ERROR: Unable to retrieve video webpage: HTTP Error 404: Not Found #354

Closed
benoon opened this issue Jun 1, 2012 · 17 comments
Closed

Comments

@benoon
Copy link

benoon commented Jun 1, 2012

youtube-dl ver. 2012.02.27
python ver. 2.6.5 (r265:79063, Feb 28 2011, 21:55:45)

when trying to get any vimeo link: ERROR: Unable to retrieve video webpage: HTTP Error 404: Not Found

any ideas ?

@jcarlosgarciasegovia
Copy link
Contributor

Duplicate of issue #285

@FiloSottile
Copy link
Collaborator

Not quite. Surely Vimeo is interested in both bugs, but the code has changed since #284 (fixed), and that's a new (recent) issue.

@jcarlosgarciasegovia
Copy link
Contributor

I do not have any problems downloading from vimeo with the current master branch.
Since the issue was open after the version the issue reports I thought it has been fixed.
Do you have problems downloading from vimeo using the current master branch?

@benoon
Copy link
Author

benoon commented Jul 24, 2012

yes, version 2012.02.27, gives the error with vimeo.

@alexstuckey
Copy link

I had this error with a video, then I updated youtube-dl (-U) and it worked. Are others still having issues with it?

@benoon
Copy link
Author

benoon commented Aug 2, 2012

Yes, after updating vimeo works again.
But why this new version is compiled ? How to get this version with the visible code ?

@alexstuckey
Copy link

I assume just look at the HEAD revision of this repo

@benoon
Copy link
Author

benoon commented Aug 2, 2012

where? can you paste the link ?

@FiloSottile
Copy link
Collaborator

The new compiled version is actually only a zip file (that you can unzip -
see #342 for ref) of the youtube_dl folder that you can find in the root of
the repo.
When the zip file is executed, __main__.py gets run.

This was done to be able to split the code in different files (easier to
manage) while keeping the ease of distribution of the single executable
file.

Also, the tracebacks remain readable and refer to files and line numbers of
the original folder.

I think I should put up a FAQ for this.

@benoon
Copy link
Author

benoon commented Aug 2, 2012

that's interesting. i unzipped it and tested with vimeo. it doesn't work.
zipped version works.
why?

@FiloSottile
Copy link
Collaborator

You have to unzip in a clean folder, then call "python ./main.py ..."

@benoon
Copy link
Author

benoon commented Aug 2, 2012

yee, i do that, it unzips just one - youtube-dl file..

@FiloSottile
Copy link
Collaborator

This is how it goes for me (Linux):

➜  ~  cd youtube-dl 
➜  youtube-dl git:(master) mkdir tmp
➜  youtube-dl git:(master) cp youtube-dl tmp 
➜  youtube-dl git:(master) ✗ cd tmp
➜  tmp git:(master) ✗ unzip youtube-dl 
Archive:  youtube-dl
warning [youtube-dl]:  22 extra bytes at beginning or within zipfile
  (attempting to process anyway)
  inflating: FileDownloader.py       
  inflating: InfoExtractors.py       
  inflating: PostProcessor.py        
  inflating: __init__.py             
  inflating: __main__.py             
  inflating: utils.py                
➜  tmp git:(master) ✗ ls
FileDownloader.py  __init__.py  PostProcessor.py  youtube-dl
InfoExtractors.py  __main__.py  utils.py
➜  tmp git:(master) ✗ rm youtube-dl 
➜  tmp git:(master) ✗ ./__main__.py http://vimeo.com/18279777
[vimeo] 18279777: Downloading webpage
[vimeo] 18279777: Extracting information
[download] Destination: 18279777.mp4
[download]   1.7% of 324.99M at    1.65M/s ETA 03:14

Which is your platform/OS? How/With what do you unzip?

@benoon
Copy link
Author

benoon commented Aug 3, 2012

yhmmm
coz i get this

# unzip youtube-dl
Archive:  youtube-dl
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of youtube-dl or
        youtube-dl.zip, and cannot find youtube-dl.ZIP, period.

@FiloSottile
Copy link
Collaborator

Please make sure that you have the latest youtube-dl executable:
https://github.com/rg3/youtube-dl/blob/master/youtube-dl?raw=true

@benoon
Copy link
Author

benoon commented Aug 3, 2012

ok, my mistake :)
you are right, it works.
thank you.

@FiloSottile
Copy link
Collaborator

No problem, nice to hear it works!
You're welcome.

joedborg referenced this issue in joedborg/youtube-dl Nov 17, 2020
[pull] master from ytdl-org:master
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

4 participants