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

try to scraping with linebot

Avatar for Gin Gin
February 13, 2020

try to scraping with linebot

Avatar for Gin

Gin

February 13, 2020
Tweet

More Decks by Gin

Other Decks in Technology

Transcript

  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