aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2018-10-15 20:47:12 +0100
committerRemita Amine <remitamine@gmail.com>2018-10-15 20:47:12 +0100
commit582797d780b6f4857a5b8b6ca8c63915242c0ab9 (patch)
tree7e9f1489a755d05057120a2669fb162128c5a292
parent160c2773f63c72686635533bc2553634b22e7e2e (diff)
downloadyoutube-dl-582797d780b6f4857a5b8b6ca8c63915242c0ab9.tar.xz
[brightcove] remove unused variable
-rw-r--r--youtube_dl/extractor/brightcove.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py
index 40c3959fd..465ae396e 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]