推荐学习书目
› 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
CSM
V2EX  ›  Python

分享个电影爬虫,用 Django 展示结果,并可在线播放

  •  
  •   CSM ·
    cshuaimin · Oct 4, 2017 · 8332 views
    This topic created in 3318 days ago, the information mentioned may be changed or developed.

    最近学 Django,写了个小工具,从「东北大学 IPv6 视频直播测试站」爬取电影名称和播放地址,然后用电影名从豆瓣获取海报、简介以及评分,并过滤掉评分低的电影。 其实就是个自带展示界面的小爬虫 :)

    我这里无法访问 IPv6 网站,所以最初的目的是用 nginx 在服务器上反代一下那个网站;后来发现电影质量参差不齐,而且没有电影分类(科幻 /喜剧)和简介,每次都要去豆瓣看看太麻烦,就有了这个小工具。

    展示地址:https://tv.tulip.ink/,repo:https://github.com/cshuaimin/tv

    当然这一切都还很简陋,但随着项目学习起来会轻松一点,一起加油吧~

    14 replies  •  2017-10-07 14:47:11 +08:00
    JRyan
    JRyan
    Oct 4, 2017
    1
    Chrome 无法加载 flash
    CSM
    CSM
    OP
    Oct 4, 2017
    2
    @JRyan 是吗 0.0
    以前用的 Video.js 播放器,刚改到 flowplayer 的...
    Sanko
    Sanko
    Oct 4, 2017❤️1
    3
    哈哈哈这个轮子我造过
    JRyan
    JRyan
    Oct 4, 2017
    4
    好像把 Chrome 设置允许网站使用 Flash 就可以了,默认好像是先询问
    nujabse
    nujabse
    Oct 4, 2017
    5
    这个项目不错!
    phithon
    phithon
    Oct 5, 2017
    6
    我挂代理能访问 ipv6.google.com 和北邮人,但访问不了 http://hdtv.neu6.edu.cn/ ,是限制了什么么?
    abear
    abear
    Oct 5, 2017 via Android
    7
    @phithon ip 限制
    phithon
    phithon
    Oct 5, 2017
    8
    @abear 限制国外 IP ?
    magicO
    magicO
    Oct 6, 2017 via Android
    9
    所以还是要走流量。学生党还是继续使用 ipv6 好了
    newbie269
    newbie269
    Oct 6, 2017
    10
    chrome 下还是无法播放
    DsHale
    DsHale
    Oct 7, 2017
    11
    很卡、、、、
    loukky
    loukky
    Oct 7, 2017 via Android
    12
    手机 chrome 上全是唧唧声,电影的正常声音听不到
    CSM
    CSM
    OP
    Oct 7, 2017
    13
    @willhunger
    @DsHale
    @loukky
    看来 flowplayer 兼容性不太好,有时间换回 Video.js ,或者你们推荐个好用的播放器?
    hzjxiiang
    hzjxiiang
    Oct 7, 2017
    14
    打不开啊~~~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2907 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 55ms · UTC 11:31 · PVG 19:31 · LAX 03:31 · JFK 06:31
    ♥ Do have faith in what you're doing.