Advertisement
Guest User

Untitled

a guest
Oct 15th, 2022
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | Source Code | 0 0
  1. import requests
  2. from bs4 import BeautifulSoup
  3.  
  4. res = requests.get("https://reading.udn.com/read/story/122749/6680114")
  5. soup = BeautifulSoup(res.text, "html.parser")
  6. article = soup.select(".article-content__editor")
  7.  
  8. print(article)
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement