Commit 64339638d617ee2726fa071f20daffa65175594d

Authored by pikidev ago
1 parent e79a6ceb03
Exists in master

Server Update

Showing 6 changed files with 16 additions and 2 deletions Side-by-side Diff

analyticsreporting.dat View file @ 6433963
1   -{"_module": "oauth2client.client", "scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "token_expiry": "2016-07-11T02:11:58Z", "id_token": null, "access_token": "ya29.CjAdA5ilL1pj0wmrvCWARXhX_ZkvMMJ1fYrBxkkXts8fsBq72LFgotan1D7IWsmSn-4", "token_uri": "https://accounts.google.com/o/oauth2/token", "invalid": false, "token_response": {"access_token": "ya29.CjAdA5ilL1pj0wmrvCWARXhX_ZkvMMJ1fYrBxkkXts8fsBq72LFgotan1D7IWsmSn-4", "token_type": "Bearer", "expires_in": 3600}, "client_id": "884418547933-e08agllr5v2kp2r3i68ld31ptl3bj4rt.apps.googleusercontent.com", "token_info_uri": "https://www.googleapis.com/oauth2/v3/tokeninfo", "client_secret": "yHgeC50DdYVLTjdHwG00eRjA", "revoke_uri": "https://accounts.google.com/o/oauth2/revoke", "_class": "OAuth2Credentials", "refresh_token": "1/XLGetj18dRnqooCzqSFfNELsMJ2yp6umjkPm8RUxnxM", "user_agent": null}
  1 +{"_module": "oauth2client.client", "scopes": ["https://www.googleapis.com/auth/analytics.readonly"], "token_expiry": "2017-02-16T06:01:04Z", "id_token": null, "access_token": "ya29.Gl30AwMjUyYDELK4aw_0MmXfS2rrtH0UUH1MjhAdbFGIxPD9JmNonrCqU2TT-T54pl53qaklCm635aBNcpBPiRomdywhP81ccvS8hqthn2zLC5GQS5V2vz1hVur_3S8", "token_uri": "https://accounts.google.com/o/oauth2/token", "invalid": false, "token_response": {"access_token": "ya29.Gl30AwMjUyYDELK4aw_0MmXfS2rrtH0UUH1MjhAdbFGIxPD9JmNonrCqU2TT-T54pl53qaklCm635aBNcpBPiRomdywhP81ccvS8hqthn2zLC5GQS5V2vz1hVur_3S8", "token_type": "Bearer", "expires_in": 3600}, "client_id": "884418547933-e08agllr5v2kp2r3i68ld31ptl3bj4rt.apps.googleusercontent.com", "token_info_uri": "https://www.googleapis.com/oauth2/v3/tokeninfo", "client_secret": "yHgeC50DdYVLTjdHwG00eRjA", "revoke_uri": "https://accounts.google.com/o/oauth2/revoke", "_class": "OAuth2Credentials", "refresh_token": "1/XLGetj18dRnqooCzqSFfNELsMJ2yp6umjkPm8RUxnxM", "user_agent": null}

No preview for this file type

  1 +Traceback (most recent call last):
  2 + File "./ga.py", line 115, in <module>
  3 + main()
  4 + File "./ga.py", line 108, in main
  5 + dau = int(val.split(":")[2])
  6 +AttributeError: 'NoneType' object has no attribute 'split'
  1 +#!/bin/bash
  2 +cd /home/pikidev/noah/dsgacrawler
  3 +python ./ga.py 1> std.log 2> err.lg
  1 +#!/bin/bash
  2 +
  3 +python /home/pikidev/noah/dsgacrawler/ga.py
  1 +Date range (0)
  2 +Date range (0)