Skip to content

Commit

Permalink
random
Browse files Browse the repository at this point in the history
  • Loading branch information
hiitsmocha committed Nov 16, 2024
1 parent 5977421 commit c2d1df8
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/test_scraper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,16 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install Chrome 94
- name: Install Chrome
run: |
# Remove any existing versions of Chrome
sudo apt-get remove -y google-chrome-stable || true
# Download Chrome 94 .deb package
wget https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_94.0.4606.81-1_amd64.deb -O /tmp/google-chrome-stable.deb
# Install Chrome 94
sudo apt-get update
sudo apt-get install -y /tmp/google-chrome-stable.deb
# Verify installation
google-chrome --version
sudo apt-get install -y google-chrome-stable
- name: Install ChromeDriver
run: |
wget https://chromedriver.storage.googleapis.com/94.0.4606.61/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
sudo mv chromedriver /usr/local/bin/
sudo chmod +x /usr/local/bin/chromedriver
- name: Run Scraper
env:
CHROME_BIN: "/usr/bin/google-chrome" # Optional, in case your script needs the Chrome path
Expand Down

0 comments on commit c2d1df8

Please sign in to comment.