diff --git a/xword_dl/downloader/mckinseydownloader.py b/xword_dl/downloader/mckinseydownloader.py index 770559f..88c8b7b 100644 --- a/xword_dl/downloader/mckinseydownloader.py +++ b/xword_dl/downloader/mckinseydownloader.py @@ -43,8 +43,7 @@ def find_latest(self): index_res = requests.get(index_url) index_soup = BeautifulSoup(index_res.text, "html.parser") - latest_fragment = next(a for a in index_soup.select('a.mdc-c-link-heading[href^="/featured-insights/the-mckinsey-crossword/"]') - if a.find('div'))['href'] + latest_fragment = next(a for a in index_soup.select('a[href^="/featured-insights/the-mckinsey-crossword/"]') if a.find('div'))['href'] latest_absolute = urllib.parse.urljoin('https://www.mckinsey.com', latest_fragment)