This commit is contained in:
Puyodead1 2023-10-15 19:20:54 -04:00
parent eb7189178d
commit 68e4ffb787
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC

View File

@ -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)