Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tusharpamnani/github-webscrapper
An application to fetch the profile image of users on GitHub
https://github.com/tusharpamnani/github-webscrapper
project
Last synced: about 1 month ago
JSON representation
An application to fetch the profile image of users on GitHub
- Host: GitHub
- URL: https://github.com/tusharpamnani/github-webscrapper
- Owner: tusharpamnani
- Created: 2023-11-25T05:30:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-25T05:49:14.000Z (about 1 year ago)
- Last Synced: 2024-04-22T05:33:43.780Z (9 months ago)
- Topics: project
- Language: CSS
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Profile Image Scraper
## Overview
This Flask web application is a simple tool that allows users to retrieve the profile image of a GitHub user. Users can input a GitHub username, and the application will scrape the user's GitHub page to find and display the profile image.
## Features
- User Input: Users can provide a GitHub username via a form.
- Web Scraping: The application utilizes web scraping techniques to extract the profile image from the specified GitHub user's page.
- Display: The retrieved profile image is displayed on the web page.## Technologies Used
- Flask: The web framework used for building the application.
- Requests: A library for making HTTP requests to fetch the GitHub user's page.
- Beautiful Soup: A library for pulling data out of HTML, used here for parsing the GitHub user's page.## How to Use
1. Clone the repository to your local machine.
```bash
git clone https://github.com/tusharpamnani/GitHub-WebScrapper.git2. Install the required dependencies.
```bash
pip install -r requirements.txt3. Run the Flask application.
```bash
python app.py4. Open your web browser and go to http://127.0.0.1:5000/ to access the application.
5. Enter a GitHub username in the provided form and submit to see the profile image.
## Notes
The application uses web scraping, which may be subject to changes on the GitHub website. It's advised to review and update the scraping logic if GitHub's HTML structure changes.
## Acknowledgments
This application is a simple demonstration of web scraping and using Flask for web development.