Coder Social home page Coder Social logo

sinavideo's Introduction

项目的前期工作:
这次要获取微博中短视频的数据,使用微博中自带的过滤功能,只能获取视频的微博。不过无法得到视频的时间,不能得到短视频。
因此我们想到了下面的方法:
1. 首先在微博的搜索框中输入“短视频”,使用视频过滤功能。目前得到的都是时间比较短,大约在2分钟内的短视频微博。
2. 将此页面的url作为要抓取数据的首页,通过page=?设置后面要抓取数据的url。
3. 通过解析html页面,获得该页面所有微博的id。
4. 通过新浪api,得到每条微博的内容,评论,转发数,视频链接。


请先填写相关配置:在Config.properties里
client_ID :appkey                           
client_SERCRET :app_secret
redirect_URI : 回调地址

sinavideo's People

Stargazers

 avatar Wendell avatar  avatar 小马哥nice avatar Will avatar  avatar

Watchers

XiaoqingGao avatar

Forkers

sandra1221

sinavideo's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.