Skip to content

Zeyu-Xie/Hydrangea-Athena-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hydrangea-Athena-Scraper

A tool for downloading files from Athena.

Supported OS: MacOS only (for now)


Preparation

Step 1: Install Chrome and ChromeDriver

  1. Ensure Google Chrome is installed:

    • Download and install Google Chrome.

    • Open chrome://version/ in Chrome to check your current version.

      Example: 130.0.6723.117 (Official Build) (arm64)

  2. Install ChromeDriver:

    • Choose one of the following methods to install the matching version of ChromeDriver.

    Method A: Install from Chrome for Developers

    Method B: Install via npm

    • Make sure Node.js and npm are installed.

    • Install ChromeDriver globally with:

      npm install -g chromedriver@[version]
      

Note: In version 1.1.0 an unstable shell script chromedriver/installer.sh is included, which can detect the installed version of Chrome and download the corresponding version of ChromeDriver. This script is not recommended for production use for potential bugs.

Step 2: Install Python Dependencies

  • Run the following command from the project’s root directory to install necessary Python packages:
    pip install -r requirements.txt

Step 3: Configure config.yaml

  • Open the config.yaml file located in the root directory.
  • Adjust the settings as needed. Refer to any inline comments for guidance.

Running the Scraper

  1. Run the Python script with:
    python main.py
  2. Wait for the download process to complete.