Spaces:
Sleeping
Sleeping
| import requests | |
| # URL of the running FastAPI scraper server | |
| base_url = "https://apexherbert200-selenium-scraper2.hf.space/scrape" | |
| # 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) | |