Created
July 18, 2016 21:26
-
-
Save jaredlockhart/fde71a1dac586c59869c677a7b09f915 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In [107]: print requests.post('http://metadata.dev.mozaws.net/', data=json.dumps({'urls': ['https://www.washingtonpost.com/news/the-switch/wp/2016/06/24/the-british-are-frantically-googling-what-the-eu-is-hours-after-voting-to-leave-it/']}), headers={'content-type':'application/json'}).content | |
| {"error":"","urls":{"https://www.washingtonpost.com/news/the-switch/wp/2016/06/24/the-british-are-frantically-googling-what-the-eu-is-hours-after-voting-to-leave-it/":{"description":"Google search history suggests many Britons had little idea what they were voting for.","image_url":"https://img.washingtonpost.com/rf/image_1484w/2010-2019/Wires/Images/2016-06-24/AP/Britain_EU-f57a6.jpg","title":"The British are frantically Googling what the E.U. is, hours after voting to leave it","type":"article","url":"https://www.washingtonpost.com/news/the-switch/wp/2016/06/24/the-british-are-frantically-googling-what-the-eu-is-hours-after-voting-to-leave-it/","original_url":"https://www.washingtonpost.com/news/the-switch/wp/2016/06/24/the-british-are-frantically-googling-what-the-eu-is-hours-after-voting-to-leave-it/","provider_url":"https://www.washingtonpost.com/news/the-switch/wp/2016/06/24/the-british-are-frantically-googling-what-the-eu-is-hours-after-voting-to-leave-it/","favicon_url":"https://www.washingtonpost.com/favicon.ico"}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment