'getting a title trough beautiful soup
Im trying to get the title, keep in mind it changes
my code:
from bs4 import BeautifulSoup
import requests
url = 'https://www.rolimons.com/deals'
page = requests.get(url)
soup = BeautifulSoup(page.content, 'html.parser')
print(soup.find('div', title='here the title changes depending on the item'))
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
