while trying to run the tasks the content property my lead to the following error
Traceback (most recent call last):
File "C:\Users\Max\PycharmProjects\summer-code-jam-2020\venv\lib\site-packages\django\core\management\base.py", line 328, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Users\Max\PycharmProjects\summer-code-jam-2020\venv\lib\site-packages\django\core\management\base.py", line 369, in execute
output = self.handle(*args, **options)
File "C:\Users\Max\PycharmProjects\summer-code-jam-2020\concerned-coyotes\earlyinternet\commands\management\commands\run_tasks.py", line 22, in handle
func()
File "C:\Users\Max\PycharmProjects\summer-code-jam-2020\concerned-coyotes\earlyinternet\wikipedia\tasks.py", line 6, in fetch_wikipedia
for article in get_wikipedia_featured_articles():
File "C:\Users\Max\PycharmProjects\summer-code-jam-2020\concerned-coyotes\earlyinternet\wikipedia\utils.py", line 100, in get_wikipedia_featured_articles
"content": html_parser.content,
File "C:\Users\Max\PycharmProjects\summer-code-jam-2020\concerned-coyotes\earlyinternet\wikipedia\utils.py", line 32, in content
content_end_index = self._content.index("(Full article...)")
ValueError: substring not found
the raw content is
The Eurasian crag martin (Ptyonoprogne rupestris) is a small swallow with brown upperparts, paler underparts, and a white-spotted square tail. It breeds in mountains in southern Eurasia and northwestern Africa. It is larger and has brighter tail spots than the three other species in its genus. Many European birds are resident, but northern and Asian populations winter in north Africa, the Middle East or India. This martin builds a half-cup mud nest lined with soft material under a cliff overhang or on a building, and the female lays two to five brown-blotched white eggs, incubated mainly by her although both parents feed the chicks. The martin feeds on insects that are caught as it flies near cliff faces or over open country. Adults and young may be hunted by birds of prey or corvids, and may host blood-sucking mites. With its large and expanding range and population there are no significant conservation concerns. (This article is part of a featured topic: Crag martins.)Recently featured: James Thompson (surveyor)Banksia sessilisTrials of ManaArchiveBy emailMore featured articles
while trying to run the tasks the content property my lead to the following error
the raw content is