ramkumardevaraj / android-marketplace-crawler

Automatically exported from code.google.com/p/android-marketplace-crawler
0 stars 0 forks source link

CAPTCHA required: haven't run crawler with this account before! #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Modify build.xml to the correct bin folder, make the other changes to 
build.xml as outlined in another "issues" thread topic
2. build the crawler using ant -- has a bunch of "I can't find this symbol" 
errors from the compiler, but it says build successful, and created the 
JavaDocs folder and the crawler.jar file in the correct location
3. deleted the last two lines of 'permission', and copied it into the same 
directory as crawler.jar
4. run java -jar crawler.jar -c

What is the expected output? What do you see instead?

My error:

Exception in thread "main" com.gc.android.market.api.LoginException: A CAPTCHA i
s required. (A response with this error code will also contain an image URL and
a CAPTCHA token.)
        at com.gc.android.market.api.MarketSession.login(MarketSession.java:168)

        at com.gc.android.market.api.MarketSession.login(MarketSession.java:126)

        at com.marketplace.io.Session.<init>(Unknown Source)
        at com.marketplace.io.SessionManager.createNewSession(Unknown Source)
        at com.marketplace.io.SessionManager.initSessions(Unknown Source)
        at com.marketplace.io.SessionManager.<init>(Unknown Source)
        at com.marketplace.Main.<init>(Unknown Source)
        at com.marketplace.Main.main(Unknown Source)

C:\Users\XXXXX\android-marketplac
e-crawler\crawler\dist\lib>

What version of the product are you using? On what operating system?

I'm on Windows 7, but have also tested this on an Ubuntu 12.04 machine.

Original issue reported on code.google.com by timothy....@gmail.com on 11 Jun 2012 at 4:22