skip to Main Content

How i can get href from row – Telegram API

I do some telegram bot, and i need to get links from html. I want to take href for Matches from this website https://www.hltv.org/matches My previous code is elif message.text == "Matches": url_news = "https://www.hltv.org/matches" response = requests.get(url_news) soup =…

VIEW QUESTION

Scraping eBay Sold Items using Beautiful Soup

I'm trying to scrape sold items on eBay. I'm trying to scrape: https://www.ebay.com/sch/i.html?_from=R40&_nkw=oakley+sunglasses&_sacat=0&Brand=Oakley&rt=nc&LH_Sold=1&LH_Complete=1&_ipg=200&_oaa=1&_fsrp=1&_dcat=79720 Here is my code where I load in html code and convert to soup object: ebay_url = 'https://www.ebay.com/sch/i.html?_from=R40&_nkw=oakley+sunglasses&_sacat=0&Brand=Oakley&rt=nc&LH_Sold=1&LH_Complete=1&_ipg=200&_oaa=1&_fsrp=1&_dcat=79720' response = requests.get(ebay_url) soup = bs(response.text, 'html.parser') #print(soup.prettify()) I'm…

VIEW QUESTION
Back To Top
Search