holys-archive / elevator

send movie stuff to weibo

Home Page:http://weibo.com/dpress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto tweet GDUFS VOD information to Sina Weibo

The code is ugly. I will refactor it !

Follow me in @weibo: http://weibo.com/dpress

HOW TO START?

Make sure you have python2.7, pip, virtualenv installed.

$ git clone https://github.com/holys/elevator.git
$ cd elevator
$ virtualenv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt
  • Prepare database for storing history movie information
sqlite3 /data/movie.db < schema.sql
  • Rename config.py.example to config.py,and fill parameters with yours.

CODING STYLE

  • Python PEP8
  • SQL STATEMENT: UPPER-CASE, function lower-case

TODO

Improve the accuracy rate of matching douban movie data with Text Similarity Algorithm

About

send movie stuff to weibo

http://weibo.com/dpress

License:Other


Languages

Language:Python 100.0%