Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
download and load a complete stackexchange project #9
This commit give the possibility, using the
WARNING: since using the urllib.request module, set the script to use python3!
musically-ut left a comment
Thanks for the PR!
This is a rather big change; so I'll have to run it to verify that it works. However, I don't quite see why we have to make upgrade to Python 3 necessary, esp. because you already are using
I can make these minor changes myself when I do the merging.
using the '-s' switch, download the compressed file from _https://ia800107.us.archive.org/27/items/stackexchange/_, then, uncompress it and load all the files in the database. Add a '-n' switch to move the tables to a given schema WARNING: since using the urllib.request module, set the script to use python3
The "load complete project" MR is ready. I added a few options:
I tested several cases and found no problem:
Tell me what you think of it