Skip to content

main.py - Line 5 ('scrape = scrape_page_metadata()') #21

@TristanB1994

Description

@TristanB1994

Love the walk-through, great warm up for web scraping.
I found an error with the instance call for scrape_page_data().
By editing the:
5: scrape = scrape_page_metadata()
to:
5: scrape = scrape_page_metadata
the scrape object will properly initialize with the url variable from config in line 8.

TypeError: scrape_page_metadata() missing 1 required positional argument: 'url'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions