File size: 472 Bytes
f11978e
71f9aed
f11978e
 
71f9aed
f11978e
 
71f9aed
f11978e
 
71f9aed
f11978e
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)