mirror of
https://gitlab.com/ytdl-org/youtube-dl.git
synced 2025-11-04 23:37:08 -05:00
[aparat] Add support (Fixes #2012)
This commit is contained in:
@@ -1093,3 +1093,8 @@ def remove_start(s, start):
|
||||
def url_basename(url):
|
||||
path = compat_urlparse.urlparse(url).path
|
||||
return path.strip(u'/').split(u'/')[-1]
|
||||
|
||||
|
||||
class HEADRequest(compat_urllib_request.Request):
|
||||
def get_method(self):
|
||||
return "HEAD"
|
||||
|
||||
Reference in New Issue
Block a user