Fix crawling English opencast

This commit is contained in:
c0derMo 2022-11-25 10:25:22 +00:00 committed by Joscha
parent c0d6d8b229
commit 55a2de6b88
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ ambiguous situations.
### Fixed ### Fixed
- IPD crawler unnecessarily appending trailing slashes - IPD crawler unnecessarily appending trailing slashes
- Crawling opencast when ILIAS is set to English
## 3.4.2 - 2022-10-26 ## 3.4.2 - 2022-10-26

View File

@ -366,7 +366,7 @@ class IliasPage:
""" """
# Video start links are marked with an "Abspielen" link # Video start links are marked with an "Abspielen" link
video_links: List[Tag] = self._soup.findAll( video_links: List[Tag] = self._soup.findAll(
name="a", text=re.compile(r"\s*Abspielen\s*") name="a", text=re.compile(r"\s*(Abspielen|Play)\s*")
) )
results: List[IliasPageElement] = [] results: List[IliasPageElement] = []