Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nuhmanpk authored Oct 30, 2023
1 parent 947b102 commit 983ed2d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# *Created a new Pypi package for scaping image,text,audio,video and metadata from web [check It Here](https://github.com/nuhmanpk/Webtrench)*

# WebScrapperRoBot
Simple Web scrapper Bot to scrap webpages using Requests, html5lib and Beautifulsoup.

Expand All @@ -18,25 +16,25 @@ It's a good practice to create a virtual environment for the project. You can us
```bash
python -m venv venv
source venv/bin/activate # On Unix/Linux systems
```

3. Install Dependencies
Use pip to install the project is dependencies from the requirements.txt file.
bash
Copy code
pip install -r requirements.txt

```bash
pip install -r requirements.txt
```
4. Create the .env File
Create a .env file in the project is root directory. This file will contain the necessary environment variables. You can either copy a sample file or create it manually.

5. Configure Environment Variables
Open the .env file and set the required environment variables in the format VARIABLE_NAME=value. For example:

env
Copy code
```env
BOT_TOKEN=your_bot_token_here
API_ID=your_api_id_here
API_HASH=your_api_hash_here

```
6. Run the Project
Execute the project using the appropriate command (e.g., python my_project.py) and access your environment variables in the code to retrieve configurations.

Expand Down

0 comments on commit 983ed2d

Please sign in to comment.