Advertisement
jackpieno

last

Aug 7th, 2022
862
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. import requests
  2. from bs4 import BeautifulSoup
  3. import csv
  4. url = "https://www.goo-net.com/usedcar/spread/goo/16/989022072600701954004.html"
  5. page = requests.get(url)
  6.  
  7. soup = BeautifulSoup(page.content, "html.parser")
  8.  
  9. my = str(soup)
  10. with open("urllib.txt",'w',encoding='utf-8') as jfile:
  11.     jfile.write(my)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement