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
CSM
V2EX  ›  Python

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

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