V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
lqik2004
V2EX  ›  Python

EzRead--《武动乾坤》版另附一个问题

  •  
  •   lqik2004 · Sep 4, 2012 · 4746 views
    This topic created in 4995 days ago, the information mentioned may be changed or developed.
    昨天晚上我写了一个脚本,可以自动下载《武动乾坤》的每日更新,然后推送到Kindle上,看起来方便一些。
    我放到了Github上,如果有类似需要的可以修改其中的正则来适应自己的需求。

    用了一天感觉还不错,服务器每两小时自动执行脚本查看是否有新的更新,下面是拍摄图:

    http://distilleryimage11.s3.amazonaws.com/624da6a2f5ab11e1a58222000a1cde8e_7.jpg

    Github连接:https://github.com/lqik2004/EzRead

    另外,问个问题,我发送到amazon之后的附件如果是中文文件名转换回来会是乱码,但是如果我用Gmail直接上传附件返回来的就不是乱码。
    按说这应该是脚本附件部分编码有问题,但我却不知道怎么改,求指教。
    1 replies    1970-01-01 08:00:00 +08:00
    lqik2004
        1
    lqik2004  
    OP
       Sep 8, 2012
    我更新了新版本,应该牛逼一点了,能够生成整本书了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2991 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 08:39 · PVG 16:39 · LAX 01:39 · JFK 04:39
    ♥ Do have faith in what you're doing.