This is an items uploader for Taobao seller, which crawl books or movies from Douban.
WARNING: This tool is outdated. Please use it for study only.
virtualenv env
source env/bin/active
pip install -r requirements.txt
# settings.py
key = 'TODO/YOUR_APP_KEY'
sec = 'TODO/YOUR_APP_SEC'
domain = 'TODO/YOUR_PROXY_DOMAIN'
# ...
nick = 'TODO/YOUR_NICK'
token = 'TODO/YOUR_W2_AUTH_CODE'
num_iid = 0L # TODO: replace with one of your valid taobao item num_iid
python ./run.py get-item
...
{
postage_id: TODO,
seller_cat: TODO,
...
}
# run.py
url = "http://www.douban.com/tag/2014/movie?start=15"
python ./run.py upload-list