remove after=args.after

This commit is contained in:
Marc Nixon 2023-09-01 10:13:44 -07:00
parent 12e0261f45
commit 9ff6628c09
2 changed files with 2 additions and 4 deletions

View file

@ -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: |

View file

@ -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)