https://github.com/singhxtushar/flipkart_web_scrapper
https://github.com/singhxtushar/flipkart_web_scrapper
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/singhxtushar/flipkart_web_scrapper
- Owner: SINGHxTUSHAR
- License: mit
- Created: 2023-08-14T08:19:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-01T13:58:47.000Z (about 2 years ago)
- Last Synced: 2023-10-02T05:19:56.097Z (about 2 years ago)
- Language: Python
- Size: 427 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flipkart_web_scrapper
This is a web scrapper project which will show the reviews given by the people on Flipkart for entered items. you can enter the item on the search page and will get the reviews on result page.
Link for the API: Will be update in future
### Modules that we have used in our API with Flask framework are :
1. from flask import Flask, render_template, request,jsonify
2. from flask_cors import CORS,cross_origin
3. import requests
4. from bs4 import BeautifulSoup as bs
5. from urllib.request import urlopen as uReq
6. import logging
7. logging.basicConfig(filename="scrapper.log" , level=logging.INFO)### The structure is designed by using HTML and CSS :
1.index.html: This contains the search page
2.result.html: This contains the final output or the information fetched from Flipkart about the entered item
3.main.css and style.css : These files are used in designing part for the UI used in API.We are also logging the information in our scrapper.log file, for this we have use the logging module and level is set to INFO.
## Screenshots :



we can also push the data to our database using MongoDB, the code for that is given in the app_Mongodb file.
---
THANKS FOR VISITING---
Future updates will come in this repo!