Nothing seems to happen on my get request on the second script uploaded, first also contains a get and post request and they seem to work fine. I am a paid member.
def get_highest_page_number(url):
response = requests.get(url, headers=headers)
print(response.text)
soup = BeautifulSoup(response.content, "html.parser")
page_links = soup.find_all("a", href=True)
page_numbers = [int(link["href"].split("=")[-1]) for link in page_links if link.text.isdigit()]
highest_page = max(page_numbers)
return highest_page
Console shows nothing it doesn’t print anything starting from the get request, have it running’s for hours no errors nothing.