brunogladiado

texte

Mar 24th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. url = 'http://blog.listaiptvbrasil.com.br/listas-atualizadas-02-02-2018-novas-listas-de-canais-para-iptv-todo-dia-lista-para-playlistv-iptv-e-kodi-atualizadas-lista-de-canais-filmes-animes/'
  2. def getLinks(url):
  3. html_page = urllib2.urlopen(url)
  4. soup = BeautifulSoup(html_page)
  5. links = []
  6.  
  7. for link in soup.findAll('p'):
  8. print link
  9. getLinks(url)
Advertisement
Add Comment
Please, Sign In to add comment