This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[utils] Don't touch URLs if not necessary
Fix test_Generic_15 (Google redirect)
totalwebcasting
Yen Chi Hsuan
9 years ago
parent
bffb245a48
commit
cacd996662
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
youtube_dl/utils.py
+ 2
- 0
youtube_dl/utils.py
View File
@ -1792,6 +1792,8 @@ def urlencode_postdata(*args, **kargs):
def
update_url_query
(
url
,
query
)
:
if
not
query
:
return
url
parsed_url
=
compat_urlparse
.
urlparse
(
url
)
qs
=
compat_parse_qs
(
parsed_url
.
query
)
qs
.
update
(
query
)
Write
Preview
Loading…
Cancel
Save