sephora-scraper / app.py
mumer119131's picture
Update app.py
5a00466
raw
history blame contribute delete
432 Bytes
from flask import Flask
from SephoraDirect import SephoraScraper # Import the Sephoradirect class
from fastapi import FastAPI
# Create an instance of the Sephoradirect class
sephora_direct = SephoraScraper()
app = FastAPI()
@app.get("/")
def read_root():
print('request agye nhi')
return {
"hello" : "world"
}
@app.get("/re")
def read():
print('request agye')
sephora_direct.run()
return True