Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
Add isPlayable to playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
mytja committed Jan 4, 2022
1 parent f762135 commit ea80c73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions youtubesearchpython/core/playlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def __getComponents(self) -> None:
"duration": self.__getValue(video, ["lengthText", "accessibility", "accessibilityData", "label"]),
},
"link": "https://www.youtube.com" + self.__getValue(video, ["navigationEndpoint", "commandMetadata", "webCommandMetadata", "url"]),
"isPlayable": self.__getValue(video, ["isPlayable"]),
}
videos.append(j)
except:
Expand Down

0 comments on commit ea80c73

Please sign in to comment.