apexherbert200's picture
Changes made
f11978e
raw
history blame contribute delete
472 Bytes
import requests
# URL of the running FastAPI scraper server
base_url = "https://huggingface.co/spaces/apexherbert200/selenium-scraper2"
# Target page to scrape
params = {"link": "https://jobright.ai/jobs/info/681ab6e27e673b00b9024e36"}
# Send GET request
response = requests.get(base_url, params=params)
# Print the JSON response
if response.status_code == 200:
data = response.json()
print(data)
else:
print("Error:", response.status_code, response.text)