How can you extract data from this json using, beautifulsoup and python?
Question: how can get those two values utc_last_updated and name given the following
json ? I used requests, to get to fetch the content, and then I used
BeautifulSoup to make it like it is now. But now I just want to extract the
two values that I have shown.

    
    
    "data": [
            {
                "scm": "hg",
                "has_wiki": false,
                "last_updated": "2016-03-23T14:05:27.433",
                "no_forks": false,
                "created_on": "2016-03-18T22:55:52.705",
                "owner": "user",
                "email_mailinglist": "",
                "is_mq": false,
                "size": 420034,
                "read_only": false,
                "fork_of": null,
                "mq_of": null,
                "state": "available",
                "utc_created_on": "2016-03-18 21:55:52+00:00",
                "website": "",
                "description": "",
                "has_issues": false,
                "is_fork": false,
                "slug": "store",
                "is_private": true,
                "name": "store",
                "language": "python",
                "utc_last_updated": "2016-03-23 13:05:27+00:00",
                "no_public_forks": true,
                "creator": null,
                "resource_uri": "/1.0/repositories/my_url"
            },
            {
                "scm": "hg",
                "has_wiki": false,
                "last_updated": "2016-03-18T12:26:22.261",
                "no_forks": false,
                "created_on": "2016-03-18T12:19:08.262",
                "owner": "user",
                "email_mailinglist": "",
                "is_mq": false,
                "size": 173137,
                "read_only": false,
                "fork_of": null,
                "mq_of": null,
                "state": "available",
                "utc_created_on": "2016-03-18 11:19:08+00:00",
                "website": "",
                "description": "",
                "has_issues": false,
                "is_fork": false,
                "name": 'foo'
                "is_private": true,,
                "language": "python",
                "utc_last_updated": "2016-03-18 11:26:22+00:00",
                "no_public_forks": true,
                "creator": null,
                "resource_uri": "/1.0/repositories/my_rl"
            },
    

} I will appreciate any help.


Answer: You've got a _`JSON` response_, not `HTML` \- parse it with [`json`
module](https://docs.python.org/2/library/json.html):

    
    
    import json
    
    data = json.loads(response)
    for item in data["data"]:
        print(item["utc_last_updated"])
    

