kotartemiy / pygooglenews

If Google News had a Python library
https://newscatcherapi.com
MIT License
1.26k stars 134 forks source link

errorusing ScrapingBee #17

Open alexisakov opened 3 years ago

alexisakov commented 3 years ago

When adding ScrapingBee API key the function gives an error:

Exception: ScrapingBee status_code: 500 {"error": "If you wish to scrape Google, use the custom_google=True parameter. ! Each requests will costs 20 credits !"}

toppy007 commented 1 year ago

You must edit the file init.py.

Add 'custom_google': 'True', to the def __scaping_bee_request(self, api_key, url): function in params=