Advertisement
One1L

Untitled

Feb 4th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. 39 50.8 MiB 0.6 MiB app, created = Application.objects.get_or_create(id=app_data['id'])
  2. 92 52.5 MiB 0.5 MiB for screenshot_data in app_data['screenshots']:
  3. 92 52.9 MiB 0.3 MiB for screenshot_data in app_data['screenshots']:
  4. 48 53.0 MiB 0.1 MiB app.website = requests.get(app_data.get('website'), verify=False, timeout=settings.REQUEST_TIMEOUT_S).url
  5. 92 53.2 MiB 0.1 MiB for screenshot_data in app_data['screenshots']:
  6. 92 53.3 MiB 0.1 MiB for screenshot_data in app_data['screenshots']:
  7. 48 53.4 MiB 0.1 MiB app.website = requests.get(app_data.get('website'), verify=False, timeout=settings.REQUEST_TIMEOUT_S).url
  8. 92 53.6 MiB 0.1 MiB for screenshot_data in app_data['screenshots']:
  9. 93 53.5 MiB -0.1 MiB data_update_logger.debug(u'Prepare screenshot')
  10. 94 53.6 MiB 0.1 MiB screenshot_unique_name, screenshot_file = prepare_file(screenshot_data['url'])
  11. 92 53.9 MiB 0.3 MiB for screenshot_data in app_data['screenshots']:
  12. 93 53.7 MiB -0.1 MiB data_update_logger.debug(u'Prepare screenshot')
  13. 94 53.9 MiB 0.1 MiB screenshot_unique_name, screenshot_file = prepare_file(screenshot_data['url'])
  14. 48 54.4 MiB 0.5 MiB app.website = requests.get(app_data.get('website'), verify=False, timeout=settings.REQUEST_TIMEOUT_S).url
  15. 108 54.4 MiB 4.2 MiB for app_data in search_data:
  16. 23 54.7 MiB 0.1 MiB app_instance.url = requests.get(app_instance_data['url'], verify=False, timeout=settings.REQUEST_TIMEOUT_S).url
  17. 71 54.7 MiB 0.1 MiB for app_instance_data in app_data['downloads']:
  18. 72 54.7 MiB -0.1 MiB data_update_logger.debug(u'Save thumbnail')
  19. 73 54.7 MiB 0.1 MiB handle_app_instance(app, app_instance_data)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement