✨ project started, 200 OK received
Co-authored-by: haraldnilsen <harald_998@hotmail.com> Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
parent
718a20d3ab
commit
e7b6390dd5
1 changed files with 9 additions and 0 deletions
9
main.py
Normal file
9
main.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
import httpx
|
||||
from selectolax.parser import HTMLParser
|
||||
|
||||
url = "https://www.studenterspor.no/kropp-sex-og-identitet/#/sykdom-og-symptomer"
|
||||
headers = {"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"}
|
||||
|
||||
response = httpx.get(url, headers=headers)
|
||||
|
||||
print(response.status_code)
|
Reference in a new issue