Please specify a default value for picture because python's None value i don't think will work. So:
picture = url.get('media_url', '')
Oh and please add a test for this as well (look at the existing tests, you might have to add some extra json if there isn't already a media_url key present in the example data).
Please specify a default value for picture because python's None value i don't think will work. So:
picture = url.get( 'media_ url', '')
Oh and please add a test for this as well (look at the existing tests, you might have to add some extra json if there isn't already a media_url key present in the example data).