diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..757ecb33 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +env/ +__pycache__/ \ No newline at end of file diff --git a/sites/website_scraper_bs4.py b/sites/website_scraper_bs4.py index 77ac6c75..972e916e 100644 --- a/sites/website_scraper_bs4.py +++ b/sites/website_scraper_bs4.py @@ -4,6 +4,7 @@ from sites.update_logo import update_logo from math import ceil import uuid +import json class BS4Scraper: @@ -84,3 +85,4 @@ def send_to_viitor(self): api_load = UpdatePeviitorAPI(self.company_name, self.formatted_data) api_load() update_logo(self.company_name, self.logo_url) + print(json.dumps(self.formatted_data, indent=4, sort_keys=True))