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

How to get this program working on Mac OS Catalina #30

Open
benchesh opened this issue Nov 2, 2019 · 1 comment
Open

How to get this program working on Mac OS Catalina #30

benchesh opened this issue Nov 2, 2019 · 1 comment

Comments

@benchesh
Copy link

benchesh commented Nov 2, 2019

I'm inexperienced in Python so I don't trust myself to submit a PR, and I have no doubt my lack of experience is clear in this guide. If you're having issues getting this program working, hopefully this helps you out.

  • Not sure if needed: Install Xcode and then the command line tools: xcode-select --install
  • Install Homebrew
  • Install ffmpeg: brew install ffmpeg
  • Install pip: https://www.shellhacks.com/python-install-pip-mac-ubuntu-centos/
  • Install Python 3: https://www.python.org/downloads/mac-osx/
  • Run pip3 install -r requirements.txt to install the requirements. pip3 ensures you're using Python 3 and not Python 2.
  • If that didn't produce any errors, go to the next step. For me I received the following error: Running setup.py install for cffi ... error. To get around this I manually installed every dependency from requirements.txt (without honouring the specific version numbers):
pip3 install cffi
pip3 install cryptography
pip3 install enum34
pip3 install idna
pip3 install ipaddress
pip3 install packaging
pip3 install pycparser
pip3 install pyOpenSSL
pip3 install pyparsing
pip3 install requests
pip3 install six
pip3 install tqdm
pip3 install urllib3
  • Run python3 vimeo-download.py --url "http://...master.json?base64_init=1" (replace the URL as required)
  • If you get the following error: ModuleNotFoundError: No module named 'urlparse' follow this guide and try the above command again. You should now see the video start downloading!
  • If you then need to merge the video/audio tracks, navigate to where the file was saved and run ffmpeg -i v.mp4 -i a.mp3 -c copy merged.mp4
@benchesh benchesh changed the title Installation fails on Mac OS Catalina How to get this program working on Mac OS Catalina Nov 2, 2019
@boian-ivanov
Copy link

It works like a charm. Thanks for creating that guide!

NaanProphet added a commit to NaanProphet/vimeo-download that referenced this issue Feb 20, 2023
- applied the suggestions for urlparse from eMBee#24
- removing versions for requirements.txt as per guidance of eMBee#30
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

2 participants