/
sampleoutput.py
17 lines (17 loc) · 12.9 KB
/
sampleoutput.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
data = [{u'category': 9, u'times_viewed': 250, u'description': u'Detail of the facade of the Civic Opera House in Chicago. ', u'rating': 98.4, u'favorites_count': 35, u'created_at': u'2012-07-14T10:20:29-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9747899/e854c10e97d96d1929c1619917379d96a8e3c20c/2.jpg', u'nsfw': False, u'height': 1424, u'width': 2061, u'votes_count': 62, u'user': {u'username': u'armando', u'city': u'CUERNAVACA', u'userpic_url': u'http://acdn.500px.net/181529/d6f8b68f31a05fb5a4554658202d67c4adbf2dec/1.jpg?127', u'firstname': u'armando', u'lastname': u'cu\xe9llar', u'upgrade_status': 2, u'country': u'MEXICO', u'fullname': u'armando cu\xe9llar', u'id': 181529}, u'comments_count': 62, u'id': 9747899, u'name': u'DETAIL - ART DECO'}
{u'category': 5, u'times_viewed': 725, u'description': '', u'rating': 98.4, u'favorites_count': 103, u'created_at': u'2012-07-14T10:03:12-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9746879/7a7cad4fa35f7cb272aab1e5329fae1eb69fec3c/2.jpg', u'nsfw': False, u'height': 1366, u'width': 2048, u'votes_count': 158, u'user': {u'username': u'Bunnawath', u'city': u'Phnom Penh', u'userpic_url': u'http://acdn.500px.net/265877/1a2ffd02d285653c1c7ceae6b530583fe97538f8/1.jpg?96', u'firstname': u'Bunnawath ', u'lastname': u' ( B-FOTO )', u'upgrade_status': 0, u'country': u'Cambodia', u'fullname': u'Bunnawath ( B-FOTO )', u'id': 265877}, u'comments_count': 128, u'id': 9746879, u'name': u'Ways to the future ... '}
{u'category': 18, u'times_viewed': 640, u'description': '', u'rating': 98.4, u'favorites_count': 57, u'created_at': u'2012-07-14T08:48:28-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9743409/4d0ea8210550373bf9a0afe40f51360e72ed4f90/2.jpg', u'nsfw': False, u'height': 3840, u'width': 5760, u'votes_count': 99, u'user': {u'username': u'Andre_Villeneuve', u'city': u'Granby', u'userpic_url': u'http://acdn.500px.net/443716/20804c6c3c646903768a7c0e804521730e7d24ea/1.jpg?127', u'firstname': u'Andre', u'lastname': u'Villeneuve', u'upgrade_status': 0, u'country': u'Canada', u'fullname': u'Andre Villeneuve', u'id': 443716}, u'comments_count': 94, u'id': 9743409, u'name': u'Near my mind'}
{u'category': 13, u'times_viewed': 528, u'description': u'Ochkhamuri, Republic of Georgia, small village cinema, the view from the stage.\r\nUsing Canon 5D Mark II, Canon 16-35 EF f2:8L USM II, F11, ISO 100, Manfrotto tripod.\r\n7 Different exposures processed in Photomatix Pro, reduced distortion in PTLens, completed work in Photoshop CS5 and Colour Effex Pro.', u'rating': 98.4, u'favorites_count': 30, u'created_at': u'2012-07-14T07:35:24-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9740363/2d87361751fc04ad3a4d9485a1f3c7d4ea1419f6/2.jpg', u'nsfw': False, u'height': 739, u'width': 1100, u'votes_count': 79, u'user': {u'username': u'roliketto', u'city': u'Toronto', u'userpic_url': u'http://acdn.500px.net/123478/39a91b71f955a84bdf82b71ad706f3c5096748cc/1.jpg?127', u'firstname': u'Roland', u'lastname': u'Shainidze', u'upgrade_status': 2, u'country': u'Canada', u'fullname': u'Roland Shainidze', u'id': 123478}, u'comments_count': 50, u'id': 9740363, u'name': u'Lost Glory'},
{u'category': 18, u'times_viewed': 1108, u'description': u'No me molesta en absoluto que no guste mi foto, pero que sentido tiene el boton: "I don\'t like this photo", solo trae malestar hacia todos los que mostramos publicamente nuestras fotografias. \r\nLas personas que hacen esto, amparados en el anonimato, solo demuestran su cobardia y envidia al no comentar, ni siquiera, el motivo de dicha actitud. \r\nS\xe9 que hay personas que piensan lo mismo que yo y, es por este motivo que, RUEGO A LOS ADMINISTRADORES QUE TOMEN ALGUNA MEDIDA AL RESPECTO. \r\nMi desprecio hacia todas aquellas personas que act\xfaan en la cobardia.\r\nUn saludo a todos. \r\nPD: no se como pero me parece que me he dado cuenta de quien me ha votado en negativo, pues ha tenido n fallo garrafal. Buen finde a todos', u'rating': 98.4, u'favorites_count': 97, u'created_at': u'2012-07-14T04:51:42-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9733863/9b90efd6bf56d1cb8ad8ba34395dc204379ce698/2.jpg', u'nsfw': False, u'height': 3507, u'width': 2480, u'votes_count': 183, u'user': {u'username': u'Aleandro', u'city': u'San Roque ', u'userpic_url': u'http://acdn.500px.net/735047/a9f19ae56823e67ede25857bbae6e02e7f2aa332/1.jpg?127', u'firstname': u'Alejandro ', u'lastname': u'Ferrer Ruiz ', u'upgrade_status': 1, u'country': u'Cadiz', u'fullname': u'Alejandro Ferrer Ruiz ', u'id': 735047}, u'comments_count': 133, u'id': 9733863, u'name': u'Mariquita '},
{u'category': 11, u'times_viewed': 742, u'description': '', u'rating': 98.4, u'favorites_count': 74, u'created_at': u'2012-07-14T03:23:12-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9730975/1630fe38afa0b81acd2b27c8d5249db03097e31a/2.jpg?t=1342250645', u'nsfw': False, u'height': 5434, u'width': 3622, u'votes_count': 154, u'user': {u'username': u'Milan_Zygmunt', u'city': u'Zdar nad Sazavou', u'userpic_url': u'http://acdn.500px.net/587802/b824f0d48205b7b5a436a79f21a203270e5722ad/1.jpg?127', u'firstname': u'Milan', u'lastname': u'Zygmunt', u'upgrade_status': 2, u'country': u'Czech Republic', u'fullname': u'Milan Zygmunt', u'id': 587802}, u'comments_count': 141, u'id': 9730975, u'name': u'Bubo Bubo'}
{u'category': 14, u'times_viewed': 951, u'description': u'Model: Yanira Guti\xe9rrez\r\nhttp://www.fotoplatino.com/fp20152 ', u'rating': 98.4, u'favorites_count': 38, u'created_at': u'2012-07-14T03:13:36-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9730665/141496da3de6e7d6232e0c7c17cc98c0c07ec2a1/2.jpg', u'nsfw': False, u'height': 2848, u'width': 4288, u'votes_count': 56, u'user': {u'username': u'Rolde', u'city': u'Zaragoza', u'userpic_url': u'http://acdn.500px.net/393056/a802ff6fa9baeb9424454ada1d81c1a8b6fd7d21/1.jpg?0', u'firstname': u'Juan M.', u'lastname': u'Collado', u'upgrade_status': 0, u'country': u'Espa\xf1a', u'fullname': u'Juan M. Collado', u'id': 393056}, u'comments_count': 19, u'id': 9730665, u'name': u'Yanira2'}
{u'category': 24, u'times_viewed': 1611, u'description': u'Click to view <a href="http://www.flickr.com/photos/idle_a_while/sets/72157629137019127/detail/">The Color Project II</a> set. ', u'rating': 98.5, u'favorites_count': 112, u'created_at': u'2012-07-14T00:52:00-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9726583/7826ca22f06c666b2e3b7c32f58d35ce4c5183e7/2.jpg', u'nsfw': False, u'height': 1000, u'width': 1000, u'votes_count': 236, u'user': {u'username': u'vanessapaxton', u'city': u'Toronto', u'userpic_url': u'http://acdn.500px.net/643591/c405a8c6efb2bf5f1a92d1a96032996f46339de9/1.jpg?127', u'firstname': u'Vanessa', u'lastname': u'Paxton', u'upgrade_status': 0, u'country': u'Canada', u'fullname': u'Vanessa Paxton', u'id': 643591}, u'comments_count': 86, u'id': 9726583, u'name': u'The Color Project - Purple'}
{u'category': 14, u'times_viewed': 1008, u'description': '', u'rating': 98.3, u'favorites_count': 58, u'created_at': u'2012-07-14T09:05:18-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9744103/22c0dfdb7791219eba421f1cc3078c1f940e9a57/2.jpg', u'nsfw': False, u'height': 1200, u'width': 800, u'votes_count': 84, u'user': {u'username': u'aleximages', u'city': '', u'userpic_url': u'http://acdn.500px.net/23152.jpg', u'firstname': u'Alexei', u'lastname': u'Bazdarev', u'upgrade_status': 0, u'country': u'Germany', u'fullname': u'Alexei Bazdarev', u'id': 23152}, u'comments_count': 23, u'id': 9744103, u'name': u'Untitled'}
{u'category': 11, u'times_viewed': 342, u'description': u'Hump Back whale breaching', u'rating': 98.3, u'favorites_count': 32, u'created_at': u'2012-07-14T06:46:16-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9738323/23398a8206c76f7f738a0d20c285d2ff6f89edd2/2.jpg', u'nsfw': False, u'height': 2388, u'width': 3792, u'votes_count': 60, u'user': {u'username': u'ChrisY', u'city': u'Milton Keynes', u'userpic_url': u'http://acdn.500px.net/194937/23f1d11d56d71e39af6acbd25d5ce06acf5bd963/1.jpg?127', u'firstname': u'ChrisY', u'lastname': u'Photography', u'upgrade_status': 2, u'country': u'United Kingdom', u'fullname': u'ChrisY Photography', u'id': 194937}, u'comments_count': 38, u'id': 9738323, u'name': u'Untitled'}
{u'category': 9, u'times_viewed': 493, u'description': '', u'rating': 98.3, u'favorites_count': 31, u'created_at': u'2012-07-14T05:57:37-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9736553/29241b441d2715511cb1d76fba7125e093944391/2.jpg', u'nsfw': False, u'height': 3443, u'width': 5177, u'votes_count': 64, u'user': {u'username': u'Timothee-Taupin', u'city': u'Paris', u'userpic_url': u'http://acdn.500px.net/779889/d9dde905235c6ae340954af41480f7dcd64bcca6/1.jpg?4', u'firstname': u'Timoth\xe9e', u'lastname': u'Taupin', u'upgrade_status': 0, u'country': u'France', u'fullname': u'Timoth\xe9e Taupin', u'id': 779889}, u'comments_count': 41, u'id': 9736553, u'name': u'Colored'}
{u'category': 12, u'times_viewed': 673, u'description': '', u'rating': 98.3, u'favorites_count': 76, u'created_at': u'2012-07-14T05:37:29-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9735737/c12910c530b49f92527a23e45921c3ce7c49dbfd/2.jpg', u'nsfw': False, u'height': 3076, u'width': 3076, u'votes_count': 128, u'user': {u'username': u'marveros', u'city': u'Velletri', u'userpic_url': u'http://acdn.500px.net/64379.jpg', u'firstname': u'mauro', u'lastname': u'maione', u'upgrade_status': 0, u'country': u'italy', u'fullname': u'mauro maione', u'id': 64379}, u'comments_count': 125, u'id': 9735737, u'name': u'Elegance'}
{u'category': 9, u'times_viewed': 1459, u'description': u'Husby metro station in Stockholm, Sweden', u'rating': 98.3, u'favorites_count': 84, u'created_at': u'2012-07-14T05:17:42-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9734901/b4fcafa7819bebf6cdc6a99c4882a171898559a2/2.jpg', u'nsfw': False, u'height': 600, u'width': 900, u'votes_count': 180, u'user': {u'username': u'adrag', u'city': u'Stockholm', u'userpic_url': u'http://acdn.500px.net/188084.jpg', u'firstname': u'Alexander', u'lastname': u'Dragunov', u'upgrade_status': 2, u'country': u'Sweden', u'fullname': u'Alexander Dragunov', u'id': 188084}, u'comments_count': 121, u'id': 9734901, u'name': u'In the middle of nowhere'}
{u'category': 0, u'times_viewed': 721, u'description': '', u'rating': 98.3, u'favorites_count': 70, u'created_at': u'2012-07-14T04:33:02-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9733203/65974a495e176773ed50a909ad7c6762fc0fbf5e/2.jpg', u'nsfw': False, u'height': 665, u'width': 1000, u'votes_count': 136, u'user': {u'username': u'Silaphop', u'city': u'Rayong City', u'userpic_url': u'http://acdn.500px.net/243701.jpg', u'firstname': u'Silaphop', u'lastname': u'Pongsai', u'upgrade_status': 0, u'country': u'Thailand', u'fullname': u'Silaphop Pongsai', u'id': 243701}, u'comments_count': 82, u'id': 9733203, u'name': u'Sunset'}
{u'category': 18, u'times_viewed': 870, u'description': '', u'rating': 98.3, u'favorites_count': 93, u'created_at': u'2012-07-14T03:22:50-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9730965/a3465cb3f5799c45a913dba0e8f2ed3640ddb5ea/2.jpg', u'nsfw': False, u'height': 3456, u'width': 5184, u'votes_count': 147, u'user': {u'username': u'tuinkatjes', u'city': u'Antwerpen', u'userpic_url': u'http://acdn.500px.net/356863/6c105594535eb79fe180e9c65eec35a5edb3815d/1.jpg?33', u'firstname': u'Alida', u'lastname': u'Jorissen', u'upgrade_status': 2, u'country': u'Belgium', u'fullname': u'Alida Jorissen', u'id': 356863}, u'comments_count': 119, u'id': 9730965, u'name': u'Water Lily'}
{u'category': 11, u'times_viewed': 999, u'description': u'Two Red Deer backlit by the rising sun! Converted to mono.', u'rating': 98.3, u'favorites_count': 90, u'created_at': u'2012-07-14T03:18:00-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9730809/9854997f17ca0998947ab22e5df4f6bde523029e/2.jpg?t=1342250312', u'nsfw': False, u'height': 800, u'width': 1200, u'votes_count': 179, u'user': {u'username': u'siphoto', u'city': u'York', u'userpic_url': u'http://acdn.500px.net/716097/a997bbd629bc2999d97036ed6ff92d5a0b955d3a/1.jpg?127', u'firstname': u'Simon', u'lastname': u'Roy', u'upgrade_status': 2, u'country': u'England', u'fullname': u'Simon Roy', u'id': 716097}, u'comments_count': 87, u'id': 9730809, u'name': u'Mono Reds'}
{u'category': 8, u'times_viewed': 1311, u'description': '', u'rating': 98.3, u'favorites_count': 82, u'created_at': u'2012-07-14T03:15:42-04:00', u'privacy': False, u'image_url': u'http://pcdn.500px.net/9730725/5d24ab9ce006ba3b3fac6d5e9390c342841a3068/2.jpg', u'nsfw': False, u'height': 900, u'width': 600, u'votes_count': 200, u'user': {u'username': u'ksfotos', u'city': u'Duisburg', u'userpic_url': u'http://acdn.500px.net/100222/c888027bc00005ff853d66af02ce4e059ebc1290/1.jpg?127', u'firstname': u'Kai', u'lastname': u'S\xfcselbeck', u'upgrade_status': 0, u'country': u'Germany', u'fullname': u'Kai S\xfcselbeck', u'id': 100222}, u'comments_count': 111, u'id': 9730725, u'name': u'Yesterday'}