Skip to content

Commit

Permalink
pymultitor: change identity on error 403
Browse files Browse the repository at this point in the history
  • Loading branch information
m417z committed Feb 1, 2022
1 parent 5a2e29b commit e79508f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('.github/workflows/deploy.yml') }}
key: v2-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('.github/workflows/deploy.yml') }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion data/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def run_virustotal_updates():
return None

if not check_pymultitor():
subprocess.Popen(['pymultitor', '--on-error-code', '429', '--tor-timeout', '0'])
subprocess.Popen(['pymultitor', '--on-error-code', '403,429', '--tor-timeout', '0'])

while not check_pymultitor():
time.sleep(1)
Expand Down

0 comments on commit e79508f

Please sign in to comment.