diff --git a/.github/workflows/scrape_and_commit.yml b/.github/workflows/scrape_and_commit.yml index b13e100..53b180a 100644 --- a/.github/workflows/scrape_and_commit.yml +++ b/.github/workflows/scrape_and_commit.yml @@ -1,3 +1,4 @@ + name: Run Snowscraper and Commit Changes on: @@ -11,14 +12,11 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v2 - with: - node-version: '16' - name: Set up Python uses: actions/setup-python@v2 with: python-version: 3.8 - node-version: '16' - name: Install Dependencies run: | diff --git a/snowscraper/controller.py b/snowscraper/controller.py index e6d77f2..b05a42f 100644 --- a/snowscraper/controller.py +++ b/snowscraper/controller.py @@ -14,7 +14,7 @@ def register_scraper(cls): def run_all(args: argparse.Namespace): results = {} for scraper_cls in SCRAPERS.values(): - scraper = scraper_cls(after=args.after) + scraper = scraper_cls() results |= scraper.scrape() print(results)