txtv

Swiss text tv in the terminal
git clone https://git.in0rdr.ch/txtv.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

commit 1287646f96dfb1bc614986546232b2310938b4b9
parent c5970da711827fa5358f50f085f0cb282ca494b9
Author: voidcase <voidcase@users.noreply.github.com>
Date:   Tue,  5 Sep 2023 22:06:20 +0200

Merge pull request #13 from voidcase/pr-findall-fix2

Update soup.find_all tag (again)
Diffstat:
Mtxtv/txtv.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/txtv/txtv.py b/txtv/txtv.py @@ -20,7 +20,7 @@ class Page: if res.status_code != 200: err(f'Got HTTP status code {res.status_code}.') soup = bs4.BeautifulSoup(res.content, 'html.parser') - self.subpages = soup.find_all('div', class_='Content_screenreaderOnly__1kao2') + self.subpages = soup.find_all('div', class_='Content_screenreaderOnly__3Cnkp') except rq.exceptions.RequestException: err(f"Could not get '{url}'.")