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

对于爬虫所爬到的数据,有没有好的利用方案

  •  
  •   Fuzz ·
    ChaBug · Jun 4, 2018 · 2935 views
    This topic created in 2897 days ago, the information mentioned may be changed or developed.

    写了一个爬磁力链接的小脚本,想着用 flask 展示在 web 上,但是对于数据库的设计简直是一脸懵逼。

    爬虫和 flask 及数据库之间应该怎么优雅的交互呢?

    Hopetree
        1
    Hopetree  
       Jun 4, 2018
    定时任务启动爬虫,存到数据库,flask 展示数据的的方式很多啊,可以直接用 SQL 命令
    dennisun
        2
    dennisun  
       Jun 5, 2018
    flask 做个简单的 api 不就好啦
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   861 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 20:46 · PVG 04:46 · LAX 13:46 · JFK 16:46
    ♥ Do have faith in what you're doing.