nicolateodori / webmaster-tools-downloads Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/webmaster-tools-downloads
Automatically exported from code.google.com/p/webmaster-tools-downloads
What steps will reproduce the problem?
1. Follow installation steps
2. Run example-simple-download.py
What is the expected output? What do you see instead?
Downloader doesn't work -- isn't returning content back in JSON -- instead
returning some temporarily moved statement
What version of the product are you using? On what operating system?
latest version of the example scripts and latest version of the google data
python API as of 1/6/12
Please provide any additional information below.
A sample run:
C:\Users\XXXXX\Desktop\GoogleWebAPI>python example-simple-download.py
https://www.google.com/webmasters/tools/downloads-list?hl=en&siteUrl=neurolex.or
g/wiki <--- spits out URL downloader.py hits
neurolex.org/wiki
<HTML>
<HEAD>
<TITLE>Moved Temporarily</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Moved Temporarily</H1>
The document has moved <A HREF="https://www.google.com/webmasters/tools/home?hl=
en&siteUrl=neurolex.org/wiki">here</A>.
</BODY>
</HTML> <-- result from the URL given above
Traceback (most recent call last):
File "example-create-spreadsheet.py", line 186, in <module>
downloader.DoDownload(website, selected_downloads)
File "/home/arihant/Documents/rails_various/googlewebmaster/gdata-2.0.18/downloader.py", line 94, in DoDownload
sites_json = json.loads(available)
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Tried passing fully qualified domains as well getting the same output. One
strange thing that is happening is that one the site that is added with an
https full url with no data is working fine rest any other site is not working
which are added in the account with all access. Please suggest
Original issue reported on code.google.com by [email protected]
on 29 Oct 2014 at 3:17
Attachments:
What steps will reproduce the problem?
1. Run the example-simple-download.py file on linux
What is the expected output? What do you see instead?
I'm expecting to see the downloaded file but it keeps throwing the
BadAuthentication exception.
I've double and triple checked the username and password and they are correct.
Is this a script that cannot be run in a terminal?
What version of the product are you using? On what operating system?
Ubuntu 12.04
Original issue reported on code.google.com by [email protected]
on 19 Jul 2013 at 8:07
From my experience, if you use proposed source code in Python 2.x it will
return 'invalid syntax' error. In a case you're using Python 3.x change the
54th line.
Original issue reported on code.google.com by [email protected]
on 26 Jan 2012 at 1:09
Attachments:
so far we can only download through the following request types
"TOP_PAGES":"/webmasters/tools/top-search-urls-dl
"TOP_QUERIES":"/webmasters/tools/top-search-queries-dl
but what if i want to download the urls that are relevant to a specific keyword
via this service
webmasters/tools/query-details-dl?hl=en&siteUrl=MYSITEURL%2F&security_token=***&
prop=ALL®ion&db=STARTDATE&de=ENDDATE&more=true&query=SOMEKEYWORD&type=URLS&fo
rmat=csv
so i can tell which keywords led to which pages in my site
the same is available through the web master html pages , if i click on a
certain keyword it will display all URLS that this specific keyword led to it.
Original issue reported on code.google.com by [email protected]
on 21 Apr 2013 at 4:59
ijsa
Original issue reported on code.google.com by [email protected]
on 18 Mar 2013 at 8:02
Attachments:
From my experience, if you the initial source code in Python 2.x it will return
'invalid syntax', in a case you're using Python 3.x change the 54th line.
Original issue reported on code.google.com by [email protected]
on 26 Jan 2012 at 1:08
Attachments:
.......
Original issue reported on code.google.com by [email protected]
on 16 Dec 2014 at 12:08
Attachments:
this is my personal website..... welcome to my world. i think you would know about me visiting my website.
Original issue reported on code.google.com by [email protected]
on 9 Sep 2012 at 1:06
Attachments:
What steps will reproduce the problem?
1. Follow installation steps
2. Run example-simple-download.py
What is the expected output? What do you see instead?
Downloader doesn't work -- isn't returning content back in JSON -- instead
returning some temporarily moved statement
What version of the product are you using? On what operating system?
latest version of the example scripts and latest version of the google data
python API as of 1/6/12
Please provide any additional information below.
A sample run:
C:\Users\XXXXX\Desktop\GoogleWebAPI>python example-simple-download.py
https://www.google.com/webmasters/tools/downloads-list?hl=en&siteUrl=neurolex.or
g/wiki <--- spits out URL downloader.py hits
neurolex.org/wiki
<HTML>
<HEAD>
<TITLE>Moved Temporarily</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Moved Temporarily</H1>
The document has moved <A HREF="https://www.google.com/webmasters/tools/home?hl=
en&siteUrl=neurolex.org/wiki">here</A>.
</BODY>
</HTML> <-- result from the URL given above
Traceback (most recent call last):
File "example-simple-download.py", line 39, in <module>
downloader.DoDownload(website, selected_downloads)
File "C:\Users\slarson\Desktop\GoogleWebAPI\downloader.py", line 94, in DoDown
load
sites_json = json.loads(available)
File "C:\Python26\lib\json\__init__.py", line 307, in loads
return _default_decoder.decode(s)
File "C:\Python26\lib\json\decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python26\lib\json\decoder.py", line 338, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Original issue reported on code.google.com by [email protected]
on 7 Jan 2012 at 3:44
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 Dec 2011 at 4:56
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.