Merge branch 'main' into prod

This commit is contained in:
Dylan 2023-07-11 23:33:08 +01:00
commit 7be374a165
4 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ jobs:
environment: test environment: test
strategy: strategy:
matrix: matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"] python-version: ["3.8", "3.9", "3.10"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View File

@ -32,7 +32,7 @@ Edit config.json to fit your setup
First, get everything updated by running `sudo apt-get update` First, get everything updated by running `sudo apt-get update`
Verify Python is installed by running `python3 --version` or `python --version`. Versions 3.7, 3.8, 3.9, and 3.10 are supported (This includes versions like 3.10.7) Verify Python is installed by running `python3 --version` or `python --version`. Versions 3.8, 3.9, and 3.10 are supported (This includes versions like 3.10.7)
Run the following command: `git clone https://github.com/dylanpdx/BetterTwitFix` Run the following command: `git clone https://github.com/dylanpdx/BetterTwitFix`
This will download all the code for vxTwitter. Once that is done, you can run `cd BetterTwitFix` to enter the newly downloaded folder. This will download all the code for vxTwitter. Once that is done, you can run `cd BetterTwitFix` to enter the newly downloaded folder.

View File

@ -1,8 +1,8 @@
pymongo==4.3.3 pymongo==4.4.0
boto3==1.26.155 boto3==1.28.1
requests==2.31.0 requests==2.31.0
Pillow==9.5.0 Pillow==10.0.0
Flask==2.2.3 Flask==2.2.3
Flask-Cors==3.0.10 Flask-Cors==4.0.0
yt-dlp==2022.7.18 yt-dlp==2022.7.18
twitter==1.19.6 twitter==1.19.6

View File

@ -229,7 +229,7 @@ def vnfFromCacheOrDL(video_link):
elif 'suspended' in exErr.msg: elif 'suspended' in exErr.msg:
exErr.msg=msgs.tweetSuspended exErr.msg=msgs.tweetSuspended
else: else:
exErr.msg=None exErr.msg=msgs.tweetNotFound
log.error("VNF Get failed: " + video_link + " " + str(exErr)) log.error("VNF Get failed: " + video_link + " " + str(exErr))
return None,exErr.msg return None,exErr.msg
except TwitterHTTPError as twErr: except TwitterHTTPError as twErr: