mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
16 lines
692 B
Diff
16 lines
692 B
Diff
|
diff --git a/lib/flashscraper.py b/lib/flashscraper.py
|
||
|
index 323dbe4..d203b78 100644
|
||
|
--- a/lib/flashscraper.py
|
||
|
+++ b/lib/flashscraper.py
|
||
|
@@ -134,9 +134,7 @@ def _youtube_callback_step2(info, video_id, callback):
|
||
|
# strip url= from url=xxxxxx, strip trailer. Strip duplicate params.
|
||
|
for fmt, stream_map_data in zip(fmt_list, stream_map):
|
||
|
stream_map = cgi.parse_qs(stream_map_data)
|
||
|
- url_base = stream_map['url'][0]
|
||
|
- sig_part = '&signature=' + stream_map['sig'][0]
|
||
|
- fmt_url_map[fmt] = url_base + sig_part
|
||
|
+ fmt_url_map[fmt] = stream_map['url'][0]
|
||
|
|
||
|
title = params.get("title", ["No title"])[0]
|
||
|
try:
|