Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

name 'table_data_dicts' is not defined #25

Open
rezaizadijahromi opened this issue Aug 8, 2020 · 1 comment
Open

name 'table_data_dicts' is not defined #25

rezaizadijahromi opened this issue Aug 8, 2020 · 1 comment

Comments

@rezaizadijahromi
Copy link

Traceback (most recent call last):
File "scrape.py", line 96, in
run(start_year=start, years_ago=count)
File "scrape.py", line 77, in run
finished = parse_and_extract(url, name=start_year)
File "scrape.py", line 56, in parse_and_extract
table_data_dicts.append(row_dict_data)
NameError: name 'table_data_dicts' is not defined

@ritik1234
Copy link

To remove this error you should have to define the empty dictionary as follows-
table_data_dicts = { }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants