You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> path-to-extracted-file must be filled in manually
18
+
19
+
Gecko Driver is needed to run the firefox browser using selenium
20
+
21
+
### 3. Test selenium
22
+
23
+
caltest.py checks how long it takes to return the calorie value of a food item(by default it checks coffee) and
24
+
stores the calorie value in a json file.
25
+
26
+
```
27
+
python3 caltest.py
28
+
```
29
+
30
+
### 4. Scrapping the webpage
31
+
32
+
foodcal.py scraps the whole webpage and returns the calorie value of all food item and then stores it in a json file
33
+
34
+
```
35
+
python3 foodcal.py
36
+
```
37
+
> This program will stop working in-between because the webpage is poorly written and hence making it difficult for the program to get information properly.
0 commit comments