summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2023-03-04 20:24:52 -0600
committerMatt Singleton <matt@xcolour.net>2023-03-04 20:24:52 -0600
commita8b4d286d31d56f16219c064d7697a06f319d813 (patch)
tree8e4ed7a58320b8df981aa8d0743da3e57c61324a
parent84ef462fe22d339420db562e7d1673807dea7fc4 (diff)
fix washtimes
-rw-r--r--unbiased/sources/washtimes.py4
1 files 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)