-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cookbook.txt
73 lines (42 loc) · 1.71 KB
/
Cookbook.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
##################################################################################################### #
# Hi Buddy!
#
# Installation Guide.
# For more information visit:
# https://www.crummy.com/software/BeautifulSoup/bs4/doc/
# http://selenium-python.readthedocs.io/
#
#
# System: Ubuntu LTS 16.04
# apt (Advanced Packaging Tool)
# python3.6 as pip comes pre-installed
#
#
####################################################################################################
1. sudo apt install python-pip python-dev build-essential
2. sudo pip install --upgrade pip
3. sudo pip install --upgrade virtualenv
####################################################################################################
Installation: Command_Line
Install BeautifulSoup
1. pip install beautifulsoup4
Install Selenium
2. pip install selenium
Install Pandas
3. pip install pandas
Install Tabulate
4. pip install tabulate
Install CSV
5. pip install csv
Install PhantomJS
6. sudo apt install phantomJS
Install ChromeDriver
7. sudo apt install chromedriver
Install Chrome:
8. sudo apt install unzip
9. wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/2.20/chromedriver_linux64.zip && sudo unzip /tmp/chromedriver.zip chromedriver -d /usr/bin/
10. sudo chmod +x geckodriver
For Firefox:
11. wget https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz
12. sudo tar -xvzf geckodriver*
13.sudo chmod +x geckodriver