GithubHelp home page GithubHelp logo

j-google-trends-client's People

Contributors

elibus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

j-google-trends-client's Issues

I get "reached your quota limit" every time.

Hello, I'm getting a GoogleTrendsClientException every time I try to load data. Has there been a change in the API or something?

Exception in thread "main" org.freaknet.gtrends.client.exceptions.HierarchicalDownloaderException:      
org.freaknet.gtrends.api.exceptions.GoogleTrendsClientException: *** You are running too fast man!         
Looks like you reached your quota limit. Wait a while and slow it down with the '-S' option! *** 
    at org.freaknet.gtrends.client.HierarchicalDownloader.start(HierarchicalDownloader.java:129)
    at org.freaknet.gtrends.client.App.main(App.java:81)
Caused by: org.freaknet.gtrends.api.exceptions.GoogleTrendsClientException: *** You are running too fast man! Looks like you reached your quota limit. Wait a while and slow it down with the '-S' option! *** 
    at org.freaknet.gtrends.api.GoogleTrendsClient.execute(GoogleTrendsClient.java:75) 
    at org.freaknet.gtrends.client.HierarchicalDownloader.start(HierarchicalDownloader.java:100)
    ... 1 more

Unidentifiable Error Message

Hey, I tried to use Version 1.2.8 of the client with dependencies without success. The jar-package did neither run under Java 1.6 (32 bit), 1.7 (32 bit) or 1.7 (64bit). Instead I always get an error message like the one below. I have no clue of Java at all, so I would not be surprised to find the mistake on my side. If you need any other information, please let me know. Thank you so much for your help in advance! Best regards, M.

Request:

c:\Program Files\Java\jre7\bin>java -jar "[Path]\j-g
oogle-trends-client-1.2.8-jar-with-dependencies.jar" -u [mail] -p [pwd] -q "ifrs 3"

Error Message (cannot see the start):

,e=0;e<d;e++)c[e]=S(a);Q(a,b,c)}},function(a){S(a)},function(a,b,c,d){b=S(a),c=S
(a),d=S(a),c=a.a(c),b=a.a(b),Q(a,d,b[c])},function(a,b,c){b=S(a),c=S(a),b=a.a(b)
,Q(a,c,y(b))},function(a,b,c,d,e){b=S(a),c=S(a),d=U(a,b),e=U(a,c),c!=a.h&&(d==a.
i&&e==a.i?(a.c[c]==v&&Q(a,c,""),Q(a,c,a.a(c)+a.a(b))):e==a.q&&(0>d?(b=a.a(b),d==
a.i&&(b=ka(""+b)),c!=a.d&&c!=a.g&&c!=a.w||$(a,c,R(b.length,2)),$(a,c,b)):0<d&&$(
a,c,R(a.a(b),d))))},function(a,b,c){b=S(a),c=S(a),Q(a,c,function(a){return eval(
a)}(a.a(b)))},function(a,b,c){b=S(a),c=S(a),Q(a,c,a.a(c)-a.a(b))},function(a,b){
b=T(a),Q(a,b.L,b.K.apply(b.self,b.s))},function(a,b,c){b=S(a),c=S(a),Q(a,c,a.a(c
)%a.a(b))},function(a,b,c,d,e){b=S(a),c=a.a(S(a)),d=a.a(S(a)),e=a.a(S(a)),b=a.a(
b),M(b,c,Ca(a,d,e,m))},function(a,b,c,d){b=S(a),c=S(a),d=S(a),a.a(b)[a.a(c)]=a.a
(d)},function(a,b,c,d,e){b=T(a),c=b.s,d=b.self,e=b.K;switch(c.length){case 0:c=d
[e]();break;case 1:c=d[e](c[0]);break;case 2:c=d[e](c[0],c[1]);break;case 3:c=d[
e](c[0],c[1],c[2]);break;default:a.e(a.r);return}Q(a,b.L,c)},function(a,b,c){b=S
(a),c=S(a),Q(a,c,a.a(c)+a.a(b))},function(a,b,c){b=S(a),c=S(a),0!=a.a(b)&&Q(a,a.
b,a.a(c))},function(a,b,c,d){b=S(a),c=S(a),d=S(a),a.a(b)==a.a(c)&&Q(a,d,a.a(d)+1
)},function(a,b,c,d){b=S(a),c=S(a),d=S(a),a.a(b)>a.a(c)&&Q(a,d,a.a(d)+1)},functi
on(a,b,c,d){b=S(a),c=S(a),d=S(a),Q(a,d,a.a(b)<<c)},function(a,b,c,d){b=S(a),c=S(
a),d=S(a),Q(a,d,a.a(b)|a.a(c))},function(a,b){b=a.a(S(a)),za(a,b)},function(a,b,
c,d){if(b=a.U.pop()){for(c=S(a);0<c;c--)d=S(a),b[d]=a.c[d];a.c=b}else Q(a,a.b,a.
f.length)},function(a,b,c,d){b=S(a),c=S(a),d=S(a),Q(a,d,(a.a(b)in a.a(c))+0)},fu
nction(a,b,c,d){b=S(a),c=a.a(S(a)),d=a.a(S(a)),Q(a,b,Ca(a,c,d))},function(a,b,c)
{b=S(a),c=S(a),Q(a,c,a.a(c)*a.a(b))},function(a,b,c,d){b=S(a),c=S(a),d=S(a),Q(a,
d,a.a(b)>>c)},function(a,b,c,d){b=S(a),c=S(a),d=S(a),Q(a,d,a.a(b)||a.a(c))},func
tion(a,b,c,d,e){b=T(a),c=b.s,d=b.self,e=b.K;switch(c.length){case 0:c=new d[e];b
reak;case 1:c=new d[e](c[0]);break;case 2:c=new d[e](c[0],c[1]);break;case 3:c=n
ew d[e](c[0],c[1],c[2]);break;case 4:c=new d[e](c[0],c[1],c[2],c[3]);break;defau
lt:a.e(a.r);return}Q(a,b.L,c)},function(a,b,c,d,e,g){if(b=S(a),c=S(a),d=S(a),e=S
(a),b=a.a(b),c=a.a(c),d=a.a(d),a=a.a(e),"object"==y(b)){for(g in e=[],b)e.push(g
);b=e}for(e=0,g=b.length;e<g;e+=d)c(b.slice(e,e+d),a)}],Z.prototype.va=function(
a){return(a=window.performance)&&a.now?function(){return a.now()|0}:function(){r
eturn+new Date}}(),Z.prototype.ra=function(a,b){return b=this.Y(),a&&a(b),b},Z.p
rototype.C=function(a,b,c,d,e,g){try{for(b=5001,c=v,d=0,a=this.f.length;--b&&(d=
this.a(this.b))<a;)try{Q(this,this.m,d),e=S(this)%this.V.length,(c=this.V[e])?c(
this):this.e(this.ea,0,e)}catch(h){h!=this.I&&((g=this.a(this.o))?(Q(this,g,h),Q
(this,this.o,0)):this.e(this.r,h))}b||this.e(this.fa)}catch(l){try{this.e(this.r
,l)}catch(n){O(this,n)}}return this.a(this.n)},Z.prototype.Y=function(a,b,c,d,e,
g,h,l,n,s,r,t,V,ua,W,X,Y,E){if(this.p)return this.p;try{for(this.B=q,b=this.a(th
is.d).length,c=this.a(this.g).length,d=this.a(this.j),this.c[this.D]&&Ba(this,th
is.a(this.D)),e=this.a(this.h),0<e.length&&$(this,this.d,R(e.length,2).concat(e)
,this.aa),g=this.a(this.v)&255,g-=this.a(this.d).length+4,h=this.a(this.g),4<h.l
ength&&(g-=h.length+3),0<g&&$(this,this.d,R(g,2).concat(ya(g)),this.ba),4<h.leng
th&&$(this,this.d,R(h.length,2).concat(h),this.ca),l=[3].concat(this.a(this.d)),
ja(),s=[],e=0;e<l.length;e+=3)r=l[e],V=(t=e+1<l.length)?l[e+1]:0,W=(ua=e+2<l.len
gth)?l[e+2]:0,g=r>>2,Y=W&63,h=(r&3)<<4|V>>4,X=(V&15)<<2|W>>6,ua||(Y=64,t||(X=64)
),s.push(F[g],F[h],F[X],F[Y]);if(n=s=s.join("").replace(/\\./g,""))n="!"+n;else
for(n="",s=0;s<l.length;s++)E=l[s][this.T](16),1==E.length&&(E="0"+E),n+=E;this.
a(this.d).length=b,this.a(this.g).length=c,Q(this,this.j,d),a=n,this.B=m}catch(F
a){O(this,Fa),a=this.p}return a};try{M(window,"unload",function(){})}catch(Ga){}
x("botguard.bg",Z),x("botguard.bg.prototype.invoke",Z.prototype.ra);')})()</scri
pt>
  <script type="text/javascript">
  document.bg = new botguard.bg('3aYkZfirXnA68TxmPdgLojpdflSYVsnXyz78yFQgrUxDlga
zCc99/tjBZG8cPusgyxw1uyaqwsEdfHgRDSdUhZX77V0n06xEOKRtCMUJJKmUyESjBCn6cKRA0pw7IRO
tw+HVQTAqwKScxl1lvoQ/sRWCpAnBgaA8sbNOdBTQeHDGywjFKQwvBlF7o+jkGUbCDFuHNY3nqI71js+
jl81+huwgaCGymKGYRl+SwxfRzBNPuBsKuGulU9P/hFjzxhvKAadwSKycwBCNzbbuRXKTCf+Pn8jmBW1
yycaWbJnjH0qEgAOmipGap1yYy6PnvAxJxZ9kn6f/5qjnuw40o5tdwuFSlRGH4AdCH7wkvTKbqc/4u5M
yGu1uYiPwla7fMPQ+U0ygfHbQXVEHkX66hMTePNfkwOk9+ZLbUEL2HRQ/q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petIsnfYnc2FtRr4XjQaJz5VJ5SiO
qqthm8/NX61MXhmc0mEb+6Vf+t7RrfLdFzwMhCWtA9vPrFF8dBBxQWpFfMpnyeNmOI6d40tk4W34KEHE
IXrDjlySSIjCAA4rBgode6hL2xSYDwoweaXRwXWRwUOFPiUwkP9604xejwnAHrq9edqL1b9fFAXdf3+B
7Ic6urqEDh3krQWcBndK7H32nJP8Ct5qtPuUi5bWvaDr3BBZFmvATL9QX39ZdLcVJOw7xXQ3MEpGM8T4
iBjdzWnUczyeXGa1sZEJvedFl2NORoULaprb/ThfLPsjhg+Z1BpR0HKrAoPMO1Pagj3Risez6cjWBFdL
hZxgZmWpZfkv4OnaADsuVqV3GADUr9hu3KDOhmc95qnsXBKGjbY9BEnq/63ZV9dVo9boaz7EXydUE7WE
1cMmOLs5agT0xjgYqVZHK/5ESjQ8zSMs1SRhd1XoZddR6lFxwQfhVEodGcYZ92dxqV0utDyDxk0GjU1j
SHDHwPdVJzjIYWZ0s5PLJtBKFZsZtsnsi5UsXIBfnovEKgni3v4USVX0es+CuhnXkGEXwasVCp9X6YLW
44znybU6k85hZ/PvzPSriWI8=');
  </script>
<script>
  function gaia_parseFragment() {
  var hash = location.hash;
  var params = {};
  if (!hash) {
  return params;
  }
  var paramStrs = decodeURIComponent(hash.substring(1)).split('&');
  for (var i = 0; i < paramStrs.length; i++) {
      var param = paramStrs[i].split('=');
      params[param[0]] = param[1];
    }
    return params;
  }

  function gaia_prefillEmail() {
    var form = null;
    if (document.getElementById) {
      form = document.getElementById('gaia_loginform');
    }

    if (form && form.Email &&
        (form.Email.value == null || form.Email.value == '')
        && (form.Email.type != 'hidden')) {
      hashParams = gaia_parseFragment();
      if (hashParams['Email'] && hashParams['Email'] != '') {
        form.Email.value = hashParams['Email'];
      }
    }
  }


  try {
    gaia_prefillEmail();
  } catch (e) {
  }

</script>
<script>
  function gaia_setFocus() {
  var form = null;
  var isFocusableField = function(inputElement) {
  if (!inputElement) {
  return false;
  }
  if (inputElement.type != 'hidden' && inputElement.focus &&
  inputElement.style.display != 'none') {
  return true;
  }
  return false;
  };
  var isFocusableErrorField = function(inputElement) {
  if (!inputElement) {
  return false;
  }
  var hasError = inputElement.className.indexOf('form-error') > -1;
  if (hasError && isFocusableField(inputElement)) {
  return true;
  }
  return false;
  };
  var isFocusableEmptyField = function(inputElement) {
  if (!inputElement) {
  return false;
  }
  var isEmpty = inputElement.value == null || inputElement.value == '';
  if (isEmpty && isFocusableField(inputElement)) {
  return true;
  }
  return false;
  };
  if (document.getElementById) {
  form = document.getElementById('gaia_loginform');
  }
  if (form) {
  var userAgent = navigator.userAgent.toLowerCase();
  var formFields = form.getElementsByTagName('input');
  for (var i = 0; i < formFields.length; i++) {
        var currentField = formFields[i];
        if (isFocusableErrorField(currentField)) {
          currentField.focus();

          var currentValue = currentField.value;
          currentField.value = '';
          currentField.value = currentValue;
          return;
        }
      }



        for (var j = 0; j < formFields.length; j++) {
          var currentField = formFields[j];
          if (isFocusableEmptyField(currentField)) {
            currentField.focus();
            return;
          }
        }

    }
  }



    gaia_attachEvent(window, 'load', gaia_setFocus);


</script>
<script>
  var gaia_scrollToElement = function(element) {
  var calculateOffsetHeight = function(element) {
  var curtop = 0;
  if (element.offsetParent) {
  while (element) {
  curtop += element.offsetTop;
  element = element.offsetParent;
  }
  }
  return curtop;
  }
  var siginOffsetHeight = calculateOffsetHeight(element);
  var scrollHeight = siginOffsetHeight - window.innerHeight +
  element.clientHeight + 0.02 * window.innerHeight;
  window.scroll(0, scrollHeight);
  }
</script>
<script>
  (function(){
  var signinInput = document.getElementById('signIn');
  gaia_onLoginSubmit = function() {
  try {
  document.bg.invoke(function(response) {
  document.getElementById('bgresponse').value = response;
  });
  } catch (err) {
  document.getElementById('bgresponse').value = '';
  }
  return true;
  }
  document.getElementById('gaia_loginform').onsubmit = gaia_onLoginSubmit;
  var signinButton = document.getElementById('signIn');
  gaia_attachEvent(window, 'load', function(){
  gaia_scrollToElement(signinButton);
  });
  })();
</script>
  </body>
</html>

        at org.freaknet.gtrends.api.GoogleAuthenticator.login(GoogleAuthenticato
r.java:178)
        ... 4 more

Google Authenticator throwing exception

Dear Marco,
I tried usng the version which was updated 17 days agao
j-google-trends-client\releases\org\freaknet\gtrends\client\j-google-trends-client\1.2.1\j-google-trends-client-1.2.1-jar-with-dependencies.jar

and getting the following exception:
org.freaknet.gtrends.client.exceptions.HierarchicalDownloaderException: org.freaknet.gtrends.api.exceptions.GoogleTrendsClientException: org.freaknet.gtrends.api.exceptions.GoogleAuthenticatorException: org.freaknet.gtrends.api.exceptions.GoogleAuthenticatorException: Failed to login!
at org.freaknet.gtrends.client.HierarchicalDownloader.start(HierarchicalDownloader.java:130)
My userid password works fine when i tried logging into google trends website:
userName=scotttrend12312013
passWord=stockstrends

Please advise me if I need to use other version? ( i was earlier using 1.2.2.SNAPSHOT version, it worked few days later stopped workign with above exception.

I greatly appreciate your help.

Thanks.

Cannot parse GALX!

Hi all,
I'm using API 1.5.6 and Client 1.2.8. While I'm trying to run the example code, I received an error Cannot parse GALX!. Does anyone have a suggestion for my issue? Thank you in advanced!
Best Regards,
Trung Luu.

Cannot parse GALX!

I downloaded the last version 1.2.8 and run as example but I obtain "Cannot parse GALX!" error. I read that it has already been solved, but I continue to throw it:

This is the stack
Exception in thread "main" org.freaknet.gtrends.client.exceptions.HierarchicalDownloaderException: org.freaknet.gtrends.api.exceptions.GoogleTrendsClientException: org.freaknet.gtrends.api.exceptions.GoogleAuthenticatorException: Cannot parse GALX!
at org.freaknet.gtrends.client.HierarchicalDownloader.start(HierarchicalDownloader.java:129)
at org.freaknet.gtrends.client.App.main(App.java:81)
Caused by: org.freaknet.gtrends.api.exceptions.GoogleTrendsClientException: org.freaknet.gtrends.api.exceptions.GoogleAuthenticatorException: Cannot parse GALX!
at org.freaknet.gtrends.api.GoogleTrendsClient.execute(GoogleTrendsClient.java:78)
at org.freaknet.gtrends.client.HierarchicalDownloader.start(HierarchicalDownloader.java:100)
... 1 more
Caused by: org.freaknet.gtrends.api.exceptions.GoogleAuthenticatorException: Cannot parse GALX!
at org.freaknet.gtrends.api.GoogleAuthenticator.galx(GoogleAuthenticator.java:132)
at org.freaknet.gtrends.api.GoogleAuthenticator.authenticate(GoogleAuthenticator.java:97)
at org.freaknet.gtrends.api.GoogleTrendsClient.execute(GoogleTrendsClient.java:65)
... 2 more

Client is not able to handle dates

The following call seems valid

java -jar j-google-trends-client-1.2.8-jar-with-dependencies.jar \
 -u blabla \
 -p secret
 -q "U2" \
 -o 'date=10%2F2011%201m&gprop=youtube&cat=0-3'

and it works in the browser:
http://www.google.at/trends/explore#date=10%2F2011%201m&gprop=youtube&cat=0-3&q=U2

But if I run the client I get the following error

Exception in thread "main" org.freaknet.gtrends.client.exceptions.HierarchicalDownloaderException: org.freaknet.gtrends.api.exceptions.GoogleTrendsClientException: *** You are running too fast man! Looks like you reached your quota limit. Wait a while and slow it down with the '-S' option! *** 
    at org.freaknet.gtrends.client.HierarchicalDownloader.start(HierarchicalDownloader.java:129)
    at org.freaknet.gtrends.client.App.main(App.java:81)
Caused by: org.freaknet.gtrends.api.exceptions.GoogleTrendsClientException: *** You are running too fast man! Looks like you reached your quota limit. Wait a while and slow it down with the '-S' option! *** 
    at org.freaknet.gtrends.api.GoogleTrendsClient.execute(GoogleTrendsClient.java:75)
    at org.freaknet.gtrends.client.HierarchicalDownloader.start(HierarchicalDownloader.java:100)
    ... 1 more

But this cannot be the case! If I remove the -o argument, it works as expected. The group and category part work, but the date produces the error. Is the client able to handle dates?

Can't login with my google account

I'm not sure if my google account is right for accessing google trend. It showed lots of web page elements in the cmd. Where can I get a google account that is workable?

,,[[1,"https://accounts.google.com/b/0/UpdateAccountRecoveryOptions?hl\u003dzh_TW",0,0,0]
,[3,"https://support.google.com/hangouts/?hl\u003dzh_TW\u0026authuser\u003d0#topic\u003d2944848",1,1,0]
,[8,"https://fiber.google.com/myfiber?hl\u003dzh_TW\u0026authuser\u003d0",1,1,1]
,[7,"https://plus.google.com/101430918515377000004/about?hl\u003dzh_TW\u0026authuser\u003d0",1,0,1]
,[4,"https://plus.google.com/settings/plus?hl\u003dzh_TW\u0026authuser\u003d0",1,1,0]
,[5,"https://www.google.com/voice?hl\u003dzh_TW\u0026authuser\u003d0#phones",0,0,1]
]
]
});</script><script>loadTimer.tick('idp');</script></body></html>

    at org.freaknet.gtrends.api.GoogleAuthenticator.login(GoogleAuthenticator.java:166)
    ... 4 more

Exception: Cannot parse GALX!

Exception in thread "main" org.freaknet.gtrends.client.exceptions.HierarchicalDownloaderException: org.freaknet.gtrends.api.exceptions.GoogleTrendsClientException: org.freaknet.gtrends.api.exceptions.GoogleAuthenticatorException: Cannot parse GALX!
at org.freaknet.gtrends.client.HierarchicalDownloader.start(HierarchicalDownloader.java:130)
at org.freaknet.gtrends.client.App.main(App.java:66)
Caused by: org.freaknet.gtrends.api.exceptions.GoogleTrendsClientException: org.freaknet.gtrends.api.exceptions.GoogleAuthenticatorException: Cannot parse GALX!
at org.freaknet.gtrends.api.GoogleTrendsClient.execute(GoogleTrendsClient.java:78)
at org.freaknet.gtrends.client.HierarchicalDownloader.start(HierarchicalDownloader.java:100)
... 1 more
Caused by: org.freaknet.gtrends.api.exceptions.GoogleAuthenticatorException: Cannot parse GALX!
at org.freaknet.gtrends.api.GoogleAuthenticator.galx(GoogleAuthenticator.java:118)
at org.freaknet.gtrends.api.GoogleAuthenticator.authenticate(GoogleAuthenticator.java:82)
at org.freaknet.gtrends.api.GoogleTrendsClient.execute(GoogleTrendsClient.java:66)
... 2 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.