Open markus-beuckelmann opened 7 years ago
The Bing API is outdated and been replaced by Bing Web Search v7. Access keys are required to search which can can be retrieved after opening a free account. I would like to update the API and open a PR soon. Note that another account would be needed for testing.
Some of the APIs for services (such as Bing Search API, Google Translate API and Facebook) supported by
pattern.web
are deprecated, require a paid subscription or have changed in some other way.URLError: Invalid header value 'BasicO lZuSkVLNEhUbG50RTNTeUY1OFFMa1VDTHAvNzh0a1lqVjFGbDNKN2xIYTA9\n'
when running the example inexamples/01-web/03-bing.py
.HTTP401Authentication: Google translate API is a paid service
when running the example inexamples/01-web/02-google-translate.py
.HTTP401Authentication:
when running the example inexamples/01-web/11-facebook.py
.HTTP401Authentication: Yahoo search API is a paid service
We should find out if any of the authentication errors are simply related to outdated tokens that simply need to be updated or if they actually require a (new) subscription. If they require a subscription, we should find out whether they offer a free quota (e.g. 100 request/day or something). If not, users will have to deal with license keys themselves, in this case we should raise some exception when no license key is provided.