0
Je travaille sur mon premier robot d'indexation Web et je n'arrive pas à comprendre comment l'imprimer. Il n'y a pas d'erreur, mais rien ne s'affiche.Le robot d'indexation Web n'imprime pas
de BeautifulSoup importation BS4 importation urllib3
extract_links def():
http = urllib3.PoolManager()
r = http.request('GET', 'http://www.drankbank.com/happy-hour-chicago.html')
soup = BeautifulSoup(r, 'html.parser')
print(soup)
extract_links()
Merci!
Merci beaucoup !! Très nouveau à cela. –
Voici aussi le guide sur urllib3 espérons que cela aide http://urllib3.readthedocs.io/en/latest/user-guide.html – martinB0103