Skip to content

Commit cbc3441

Browse files
committed
README updated: Executing the script information is added; gitignore
1 parent f0b1cee commit cbc3441

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/dist
2+

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,32 @@ pyinstaller --onefile T3_Scraper.py
5656

5757
This will generate a standalone executable in the `dist` directory. You can run this executable without needing to install Python or any dependencies on the target machine.
5858

59+
## Executing the Script
60+
61+
On Linux, ensure that the generated executable is set as executable by running:
62+
63+
```bash
64+
chmod +x dist/T3_Scraper dist/run_scraper.sh
65+
```
66+
67+
**Running the Script**
68+
69+
You can run the script in two ways:
70+
71+
Option 1: Right-click the `run_scraper.sh` file and select "Run as a Program" to execute it.
72+
73+
Option 2: Using the Terminal
74+
75+
- Open a terminal window.
76+
- Navigate to the directory where the `run_scraper.sh` file is located.
77+
- Run the following command:
78+
79+
```bash
80+
./run_scraper.sh
81+
```
82+
83+
This will execute the scraper by launching the executable.
84+
5985
## Notes
6086

6187
- Ensure you have the Chrome WebDriver installed. You can use the WebDriver Manager to automatically handle this.

0 commit comments

Comments
 (0)