Skip to content

Commit

Permalink
Merge pull request #209 from pyromaniackeca/master
Browse files Browse the repository at this point in the history
Replace pytube with pytubefix
  • Loading branch information
sahlberg authored Jul 20, 2024
2 parents ad1a05f + 6778c45 commit 672f082
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
pip install pygubu
pip install rarfile
pip install tkinterDnD2
pip install git+https://github.com/nficano/pytube
pip install pytubefix
pip install opencv-contrib-python
pip install scikit-learn
pip install scipy
Expand Down
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ git clone https://github.com/sahlberg/pop-fe.git
git clone https://github.com/NRGDEAD/Cue2cu2.git
git clone https://github.com/putnam/binmerge.git
git clone https://github.com/dcherednik/atracdenc.git
pip3 install git+https://github.com/nficano/pytube
pip3 install pytubefix
pip3 install PyPDF2
pip3 install requests
pip3 install pycdlib (or pip3 install pycdio)
Expand Down Expand Up @@ -729,4 +729,4 @@ docker run -it --entrypoint /bin/bash pop-fe:latest
# └── PSP/
# └── GAME/
docker run -it --volume "$(pwd):/psp" pop-fe:latest --psp-dir=/psp/pspemu /psp/game.cue

2 changes: 1 addition & 1 deletion pop-fe-ps3.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

have_pytube = False
try:
import pytube
import pytubefix as pytube
have_pytube = True
except:
True
Expand Down
2 changes: 1 addition & 1 deletion pop-fe-psp.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

have_pytube = False
try:
import pytube
import pytubefix as pytube
have_pytube = True
except:
True
Expand Down
8 changes: 4 additions & 4 deletions pop-fe.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
True
have_pytube = False
try:
from pytube import YouTube
from pytube.contrib.search import Search
from pytubefix import YouTube
from pytubefix.contrib.search import Search
have_pytube = True
except:
True
Expand Down Expand Up @@ -3603,11 +3603,11 @@ def install_deps():
subprocess.call(['pip', 'install', 'Crypto'])
# pytube
try:
from pytube import YouTube
from pytubefix import YouTube
print('Pytube is already installed')
except:
print('Installing python pytube')
subprocess.call(['pip', 'install', 'git+https://github.com/nficano/pytube'])
subprocess.call(['pip', 'install', 'pytubefix'])
# opencv-contrib-python
try:
import cv2
Expand Down

0 comments on commit 672f082

Please sign in to comment.