osome-iu / hoaxy-backend

Backend component for Hoaxy, a tool to visualize the spread of claims and fact checking
http://hoaxy.iuni.iu.edu/
GNU General Public License v3.0
139 stars 44 forks source link

Replace old mashape base URL with rapidAPI #42

Closed yang3kc closed 4 years ago

yang3kc commented 5 years ago

https://p.mashape.com => https://p.rapidapi.com

filmenczer commented 4 years ago

Also update the HTTP headers using 'Mashape' or 'MASHAPE'. For new headers see https://docs.rapidapi.com/docs/headers-sent-by-mashape-proxy2

chathuriw commented 4 years ago

Added in commit https://github.com/IUNetSci/hoaxy-backend/commit/5380cea0163b762146b9fb30ef85020d459226b0 and deployed in the production.

yang3kc commented 4 years ago

It seems there are still some mashape.com based URLs in the backend, for example, the one that fetches botscores (there is an error email with the details).

We probably need to do a search to find all of them.

yang3kc commented 4 years ago

We should probably also update the README file about mashape=>rapidAPI

filmenczer commented 4 years ago

This was due to the botometer-python library. @chathuriw updated to the latest version (1.4), which should fix the issue. Can close as soon as README is updated.

chathuriw commented 4 years ago

Updated the README, config and code references (https://github.com/IUNetSci/hoaxy-backend/commit/831b8d2def079a8a6a8224a5ec1958e3c791ac6c)