ASD-at-GMF / disinfo-laundromat

MIT License
14 stars 6 forks source link

rename modules.email #45

Closed abargar closed 8 months ago

abargar commented 8 months ago

Having a module named email causes an issue when running crawler.py. This is because email conflicts with an internal dependency of the package requests and causes it to import the wrong code.

Feel free to suggest a different name - I was feeling uncreative.

See this StackOverflow for an explanation of the error: https://stackoverflow.com/questions/32874326/python-email-module-importerror-no-module-named-utils

Example stacktrace:

Screenshot 2024-02-28 at 09 19 20
pbenzoni commented 8 months ago

Approved! but I'll leave it to you to merge