remove after=args.after
This commit is contained in:
parent
12e0261f45
commit
9ff6628c09
2 changed files with 2 additions and 4 deletions
4
.github/workflows/scrape_and_commit.yml
vendored
4
.github/workflows/scrape_and_commit.yml
vendored
|
@ -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: |
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue