mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-04-30 00:54:25 +02:00
bug fix
This commit is contained in:
parent
eb7189178d
commit
68e4ffb787
2
main.py
2
main.py
@ -971,7 +971,7 @@ class Udemy:
|
||||
supp_assets = lecture_data.get("supplementary_assets")
|
||||
|
||||
if isinstance(asset, dict):
|
||||
asset_type = asset.get("asset_type").lower() or asset.get("assetType").lower
|
||||
asset_type = asset.get("asset_type").lower() or asset.get("assetType").lower()
|
||||
if asset_type == "article":
|
||||
if isinstance(supp_assets, list) and len(supp_assets) > 0:
|
||||
retVal = self._extract_supplementary_assets(supp_assets, index)
|
||||
|
Loading…
x
Reference in New Issue
Block a user