Skip to content

A feature-rich command-line audio/video downloader

[brightcove] remove unused variable

Remita Amine582797d780b6
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py
index 40c3959fda..465ae396eb 100644
--- a/youtube_dl/extractor/brightcove.py
+++ b/youtube_dl/extractor/brightcove.py
@@ -333,7 +333,6 @@ class BrightcoveLegacyIE(InfoExtractor):
if publisher_id and publisher_id[0].isdigit():
publisher_id = publisher_id[0]
if not publisher_id:
- valid_key = lambda key: key and ',' in key
player_key = query.get('playerKey')
if player_key and ',' in player_key[0]:
player_key = player_key[0]