Le-Ownect

[ HABBO ] Web Scraping by Truck

May 4th, 2021
642
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from urllib.request import urlopen
  2. from bs4 import BeautifulSoup
  3.  
  4. # By Truck (C) 2021
  5. page = urlopen("https://www.habbo.com.br/")
  6. ret = BeautifulSoup(page.read(),"html.parser")
  7. resposta = ret.body
  8. print(resposta)
  9.  
  10. filename = 'resposta.html'
  11. with open(filename, 'w') as file_object:
  12.     file_object.write("Extração HTML: </Br></Br> <textarea name='textarea' rows='20' cols='100'> " + str(resposta) + "</textarea></Br>")
  13.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×