GithubHelp home page GithubHelp logo

crawler_practice's Introduction

@ ^ - ^ @ 个人娱乐项目(本人萌新,欢迎大佬指教)

B站up主视频中的音频爬取和音频数据处理

娱乐时间:2022-07-14 到 2022-07-17

项目需求

爬取B站音乐区up主(风语·呢喃)的主页里所有的视频的音频信息(265首音乐,按照up主的最新发布顺序爬取),并上传到自己的私人云盘里用来享受生活(仅供学习交流,不做任何商业用途)

步骤:

整个爬虫项目我分为前半部分和后半部分,

前半部分是:先利用webdriver从up主主页中爬取完整网页,再利用python的re模块和正则表达式获取其中的所有的视频的标题名称、封面图片地址、简介和BV号,把BV号拼成对应视频的网址,保存到tsv文件中

后半部分是:从tsv文件中读取所有视频的标题、网址、图片地址和简介,然后利用pydub进行MP3文件头修改,再高品质地保存音乐。

crawler_practice's People

Contributors

calvinlin011010 avatar

Stargazers

 avatar

Watchers

 avatar

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.