Skip to content

Commit 6ec8a27

Browse files
committed
Update soup.find_all tag (again)
The tag has changed on the svt website. Time to update again. (Check with "View source" in chrome)
1 parent c5970da commit 6ec8a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

txtv/txtv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __init__(self, num: int):
2020
if res.status_code != 200:
2121
err(f'Got HTTP status code {res.status_code}.')
2222
soup = bs4.BeautifulSoup(res.content, 'html.parser')
23-
self.subpages = soup.find_all('div', class_='Content_screenreaderOnly__1kao2')
23+
self.subpages = soup.find_all('div', class_='Content_screenreaderOnly__3Cnkp')
2424
except rq.exceptions.RequestException:
2525
err(f"Could not get '{url}'.")
2626

0 commit comments

Comments
 (0)