summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unbiased/sources/washtimes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/unbiased/sources/washtimes.py b/unbiased/sources/washtimes.py
index 1be1838..b52effc 100644
--- a/unbiased/sources/washtimes.py
+++ b/unbiased/sources/washtimes.py
@@ -4,7 +4,7 @@ class TheWashingtonTimes(NewsSource):
name = 'The Washington Times'
shortname = 'WashTimes'
- url = 'http://www.washingtontimes.com/'
+ url = 'https://www.washingtontimes.com/'
@classmethod
def _fetch_urls(cls):
@@ -24,8 +24,8 @@ class TheWashingtonTimes(NewsSource):
h2s = tuple(h2s)
h3s = soup.find('section', class_='more-from desktop-only')\
- .ul.find_all('a')
- h3s = [x['href'] for x in h3s]
+ .find_all('h2', class_='article-headline')
+ h3s = [x.find('a')['href'] for x in h3s]
h3s = tuple(h3s)
return h1s, h2s, h3s