From a8b4d286d31d56f16219c064d7697a06f319d813 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Sat, 4 Mar 2023 20:24:52 -0600 Subject: fix washtimes --- unbiased/sources/washtimes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unbiased/sources/washtimes.py b/unbiased/sources/washtimes.py index b52effc..0727f8a 100644 --- a/unbiased/sources/washtimes.py +++ b/unbiased/sources/washtimes.py @@ -23,8 +23,8 @@ class TheWashingtonTimes(NewsSource): h2s.append(a.a['href']) h2s = tuple(h2s) - h3s = soup.find('section', class_='more-from desktop-only')\ - .find_all('h2', class_='article-headline') + h3s = soup.find('section', class_='block breaking-news')\ + .find_all('h3', class_='article-headline') h3s = [x.find('a')['href'] for x in h3s] h3s = tuple(h3s) -- cgit v1.2.3