Advertisement
jfuds93

1st scrape

Aug 30th, 2023
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. from bs4 import BeautifulSoup
  2. import requests
  3.  
  4. url = "http://ibew357.net/index.cfm?zone=/unionactive/view_article.cfm&HomeID=168642&page=Refferal"
  5.  
  6. result = requests.get(url)
  7. doc = BeautifulSoup(result.text, "html.parser")
  8.  
  9. keyword = doc.find_all(text="JOURNEYMAN")
  10.  
  11. print(keyword)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement