Upgrade to Pro — share decks privately, control downloads, hide ads and more …

try to scraping with linebot

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
Gin
February 13, 2020

try to scraping with linebot

Gin

February 13, 2020

Transcript

16 slides
  1. url = ’https:!//something.com' r = requests.get(url) soup = BeautifulSoup(r.content, "html.parser")

    events_name = soup.select('a.url.summary') events_date = soup.select('p.date') events_year = soup.select('p.year') events_img = soup.select('p.event_thumbnail img') scrape.py

More Decks by Gin

Other Decks in Technology