Not able to scrape the link-text using python, there is no output provided.
import requests
from bs4 import BeautifulSoup
URL='https://pro.imdb.com/companies?
ref_=hm_nv_co_pr#companyType=production&sort=ranking&pos=0&page=1'
headers={"User Agent":'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/84.0.4147.105 Safari/537.36'}
def Extract_prod_companies():
page=requests.get(URL,headers=headers)
soup=BeautifulSoup(page.text,'html5lib')
for tag in soup.find_all('a',{"class":"display-company"}):
print(tag.text)
Extract_prod_companies()