Skip to content

The DSE Company Scraper is a Python program that extracts data from the Dhaka Stock Exchange website and saves it to an Excel file for analysis.

License

Notifications You must be signed in to change notification settings

MustakAbsarKhan/DSE_COMPANY_SCRAPER_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSE Company Scraper

GitHub

This program is a web scraper that extracts data from the Dhaka Stock Exchange website and saves it to an Excel file for further analysis. It uses Python libraries such as requests, pandas, BeautifulSoup, time, random, urllib3, tqdm, and xlsxwriter to scrape and store the data.

Table of Contents

Introduction

The DSE Company Scraper is a Python-based web scraping tool that gathers information about companies listed on the Dhaka Stock Exchange. It collects data such as company names, trading codes, sectors, stock prices, dividend details, and more. The scraped data is then stored in an Excel file for further analysis and processing.

How to Use

Follow these step-by-step instructions to use this program:

  1. Download the executable file from this link.
  2. Extract the downloaded file to a desired location on your computer.
  3. Open the extracted folder and run the DSE_Company_Scraper.exe file.
  4. The program will automatically start scraping data from the Dhaka Stock Exchange website.
  5. Wait for the program to complete scraping all the data. This may take a few minutes, depending on your internet connection speed.
  6. Once the scraping is complete, the program will save the data to an Excel file named DSE_Company_Details.xlsx.
  7. The Excel file will be saved in the same location where the DSE_Company_Scraper.exe file is located.
  8. Open the Excel file to view and analyze the scraped data.

Installation

To run the DSE Company Scraper locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/MustakAbsarKhan/DSE_COMPANY_SCRAPER_Python.git
  2. Change to the project directory:

    cd DSE_COMPANY_SCRAPER_Python
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Run the Python script:

    python main.py

Usage

The DSE Company Scraper provides a user-friendly interface for scraping data from the Dhaka Stock Exchange website. By running the script or the executable file, the program will automatically start scraping the data and save it to an Excel file. You can customize the scraping settings by modifying the code according to your requirements.

Contributing

Contributions are welcome! If you have any ideas, suggestions, or improvements, please open an issue or submit a pull request. Make sure to follow the existing code style and guidelines.

License

This project is licensed under the MIT License.


Using this program, you can easily extract and store data from the Dhaka Stock Exchange website for further analysis. The program is user-friendly and easy to use, and it saves you the time and effort required to manually extract data from the website. Feel free to contribute to this project and make it even better!