Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- from bs4 import BeautifulSoup
- import csv
- url = "https://www.goo-net.com/usedcar/spread/goo/16/989022072600701954004.html"
- page = requests.get(url)
- soup = BeautifulSoup(page.content, "html.parser")
- my = str(soup)
- with open("urllib.txt",'w',encoding='utf-8') as jfile:
- jfile.write(my)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement