I've been trying to extract all the hyperlink from an internal sharepoint website using beautiful soup in python but whenever I'm trying to run the program I'm getting zero results. When I checked the view source of the website it also doesn't show any hyperlink. However I can see all the link using the inspect option in the browser. is there any way I can extract all those links using python.
Code:
def main():
r=requests.get('https://abc[.]com/query?',auth=HttpNtlmAuth(spuser,getpass.getpass()))
print(r.status_code)
soup = BeautifulSoup(r.content, "html.parser")
for link in soup.find_all('div',{'class':"list_episode"}):
print(link)
The above code provide no results.