Giter Club home page Giter Club logo

spider's Introduction

spider

python3 各种爬虫技术

个人爬虫笔记:https://www.yuque.com/huangzhongqing/spider

@双愚 , 若fork或star请注明来源

note笔记

模块库

  1. package/1request
  2. package/1request-advanced: cookie&代理
  3. package/2BeautifulSoup4
  4. package/3xpath
  5. package/4re正则表达式
    1. re.findall
    2. re.search
  6. package/5selenium
  7. package/6wordcloud&jieba 词云
功能 包名 作用
数据获取 request 爬取网页
数据 解析 re 正则表达式

BeautifulSoup

xpath xpath语法来进行文件格式解析

lxml lxml库结合libxml2快速强大的特性,使用xpath语法来进行文件格式解析,与Beautiful相比,效率更高。
模拟浏览器 Selenium 用于测试网站的自动化测试工具,支持各种浏览器包括Chrome、Firefox、Safari等主流界面浏览器,同时也支持phantomJS无界面浏览器。模拟点击

PhantomJS 无界面浏览器

pandas

jieba 使用结巴分词进行中文分词

pandas

wordcloud 词云包

matplotlib 绘制图表
random

通用代码(输出|表格|)

爬虫实战

  1. practice/01复仇者联盟3豆瓣影评爬虫
  2. practice/02分析豆瓣中最新电影的影评(词云显示)《超时空同居》
  3. practice/03王菊微博评论数据抓取jupyter
  4. practice/04python模拟登录带验证码的网站
  5. practice/05抓取得到App音频数据
  6. practice/06python爬取公众号文章
  7. practice/07通过关键词爬取csdn博客文章
  8. practice/08百度搜狗百科关键词爬取
  9. practice/09大学排行榜榜单爬取
  10. practice/10bilibili视频爬取下载

文件操作

读取保存excel,txt等文件

  1. 文件操作/excel
  2. 文件操作/json【todo】
  3. 文件操作/txt

LICENSE

本项目全部内容遵守 MIT 许可协议.

spider's People

Contributors

huangcongqing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

spider'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.