odino / docsql Goto Github PK
View Code? Open in Web Editor NEWImport Google Docs' spreadsheets into a MySQL table
License: MIT License
Import Google Docs' spreadsheets into a MySQL table
License: MIT License
This tool has been extremely helpful for my job, thank you very much for sharing this publicly. Unfortunately, I started been having an issue with it. Even though I use the correct link to download the table with this URL format:
https://docs.google.com/spreadsheets/d/<TABLE_ID>/export?format=tsv&gid=<SHEET_GID>
I get the message
Unrecoverable error: The file we downloaded has content type '[text/html; charset=UTF-8]', while we expected 'text/tab-separated-values'. Are you sure you entered the right URL?
This URL format works for most of the tables but not for some.
When I comment out the part which checks for the table format (tsv) I get this parsing error which might be helpful figuring out the problem we're facing.
Unrecoverable error: parse error on line 3, column 11: bare " in non-quoted-field
I checked the table and it doesn't have any character (like ", \t, ',') that might have caused the parsing error.
Do you have any idea why I might be facing this problem?
I think it might be happening from a redirected link. If a download link is redirected, the downloaded file with curl
will include the html
file which will include the redirected link. Is there a way to follow redirections and download the very last file that is reached?
Hi there, first of all - thank you so much for developing this software, it was exactly what I was looking for, and works like a charm.
I can't seem to get the archived tables to be deleted. I've experimented with different settings for -k (--keep) but none are deleted, even though command-line output seems to claim it is doing so:
2019/03/20 16:06:05 Connecting to MySQL... 2019/03/20 16:06:05 Clearing old tables... 2019/03/20 16:06:05 All done
The user has DROP privileges.
MIT, GNU, etc..?
Keep getting the error Unrecoverable error: The file we downloaded has content type '[text/html; charset=UTF-8]', while we expected 'text/tab-separated-values'. Are you sure you entered the right URL?
This was working fine last week. Doc URL ends with /export?format=tsv
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.