Skip to content

API for scraping product (notebook) detail in Shopee for Learning purpose

Notifications You must be signed in to change notification settings

hafizulf/pyscraper-shopee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyScraper

Description

Pyscraper shopee is a library build with python for web scraping shopee to get some products detail (notebook)

Prerequisites to Run Application

There are several things that need to be prepared to run this application locally:

Requires

Set Up

  • Include chromedrive in the root folder

    • structures
    ├── docs/
      └── API.md
    ├── src/
      └── producst.py
      └── producsts.py
    app.py
    chromedriver.exe
    README.md
    requirements.txt
    
    
  • create and activate local environment

      python -m venv env
      source ./env/Scripts/activate
    
  • libraries to install, make sure u already have pip :

    pip install -r requirements.txt
    
  • running application

    uvicorn app:app --reload
    # custom
    uvicorn --port 5000 --host 127.0.0.1 app:app --reload
    

    see API documentation

About

API for scraping product (notebook) detail in Shopee for Learning purpose

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages