Coder Social home page Coder Social logo

fb_material_crawler's Introduction

python版本:3.4.0

python需要组件:
chromedriver (2.24.1)
selenium (3.11.0)
redis (2.10.6)
pillow

python安装组件:
pip install selenium
pip install chromedriver
pip install redis
pip install pyvirtualdisplay
pip install pillow


机器上需要的软件:
一、chrome安装:
1、增加google源
在/etc/yum.repos.d目录下,创建文件google-chrome.repo,并增加以下内容:
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
2、安装
yum -y install google-chrome-stable

二、chrome driver下载:
wget https://chromedriver.storage.googleapis.com/2.37/chromedriver_linux64.zip
% unzip chromedriver_linux64.zip

三、
yum update
yum install Xvfb
yum install libXfont
yum install xorg-x11-fonts*


机器需要安装字体:
yum install freetype*
yum install cjkuni-ukai-fonts
不行就Google查一下别的字体库安装一下

fb_material_crawler's People

Contributors

liu-shiyuan 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.