logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: feeee02b1b81576f6dce37ca38f08a8e2dfef7a8
parent df10aae08aadf8fac4f255244fbf308a3b2fe91a
Author: Michael Forney <mforney@mforney.org>
Date:   Wed,  7 Aug 2024 18:15:39 -0700

yt-dlp: Update to 2024.08.06

Diffstat:

Mpkg/yt-dlp/patch/0001-Disable-use-of-ctypes-and-dynamic-loading.patch28++++++++++++++--------------
Mpkg/yt-dlp/pylibs.txt31++++++++++++++++++++-----------
Mpkg/yt-dlp/sha2562+-
Mpkg/yt-dlp/url2+-
Mpkg/yt-dlp/ver2+-
5 files changed, 37 insertions(+), 28 deletions(-)

diff --git a/pkg/yt-dlp/patch/0001-Disable-use-of-ctypes-and-dynamic-loading.patch b/pkg/yt-dlp/patch/0001-Disable-use-of-ctypes-and-dynamic-loading.patch @@ -1,4 +1,4 @@ -From a391e9bf15ff9627484606b8d134357dcc2120a0 Mon Sep 17 00:00:00 2001 +From 85781c9dc7a882b8638dcfdd60da14261178f437 Mon Sep 17 00:00:00 2001 From: Michael Forney <mforney@mforney.org> Date: Mon, 4 Jul 2016 16:14:18 -0700 Subject: [PATCH] Disable use of ctypes and dynamic loading @@ -9,10 +9,10 @@ Subject: [PATCH] Disable use of ctypes and dynamic loading 2 files changed, 2 insertions(+), 183 deletions(-) diff --git a/yt_dlp/cookies.py b/yt_dlp/cookies.py -index 28d174a09..fb1fc67e7 100644 +index 070d2fcb9..e527fdec4 100644 --- a/yt_dlp/cookies.py +++ b/yt_dlp/cookies.py -@@ -387,8 +387,6 @@ def decrypt(self, encrypted_value): +@@ -400,8 +400,6 @@ def decrypt(self, encrypted_value): def get_cookie_decryptor(browser_root, browser_keyring_name, logger, *, keyring=None): if sys.platform == 'darwin': return MacChromeCookieDecryptor(browser_keyring_name, logger) @@ -21,7 +21,7 @@ index 28d174a09..fb1fc67e7 100644 return LinuxChromeCookieDecryptor(browser_keyring_name, logger, keyring=keyring) -@@ -475,43 +473,6 @@ def decrypt(self, encrypted_value): +@@ -488,43 +486,6 @@ def decrypt(self, encrypted_value): return encrypted_value @@ -65,7 +65,7 @@ index 28d174a09..fb1fc67e7 100644 def _extract_safari_cookies(profile, logger): if sys.platform != 'darwin': raise ValueError(f'unsupported platform: {sys.platform}') -@@ -961,33 +922,6 @@ def _get_mac_keyring_password(browser_keyring_name, logger): +@@ -971,33 +932,6 @@ def _get_mac_keyring_password(browser_keyring_name, logger): return None @@ -97,9 +97,9 @@ index 28d174a09..fb1fc67e7 100644 - - def pbkdf2_sha1(password, salt, iterations, key_length): - return pbkdf2_hmac('sha1', password, salt, iterations, key_length) + return hashlib.pbkdf2_hmac('sha1', password, salt, iterations, key_length) -@@ -1017,40 +951,6 @@ def _decrypt_aes_gcm(ciphertext, key, nonce, authentication_tag, logger): +@@ -1027,40 +961,6 @@ def _decrypt_aes_gcm(ciphertext, key, nonce, authentication_tag, logger): return None @@ -126,7 +126,7 @@ index 28d174a09..fb1fc67e7 100644 - None, # pvReserved: must be NULL - None, # pPromptStruct: information about prompts to display - 0, # dwFlags -- ctypes.byref(blob_out) # pDataOut +- ctypes.byref(blob_out), # pDataOut - ) - if not ret: - logger.warning('failed to decrypt with DPAPI', only_once=True) @@ -141,10 +141,10 @@ index 28d174a09..fb1fc67e7 100644 return os.environ.get('XDG_CONFIG_HOME', os.path.expanduser('~/.config')) diff --git a/yt_dlp/utils/_utils.py b/yt_dlp/utils/_utils.py -index 9efeb6a1c..34e84854c 100644 +index 0d3e707c5..357f145d7 100644 --- a/yt_dlp/utils/_utils.py +++ b/yt_dlp/utils/_utils.py -@@ -1478,64 +1478,7 @@ def __init__(self): +@@ -1482,64 +1482,7 @@ def __init__(self): super().__init__(self.msg) @@ -171,7 +171,7 @@ index 9efeb6a1c..34e84854c 100644 - ctypes.wintypes.DWORD, # dwReserved - ctypes.wintypes.DWORD, # nNumberOfBytesToLockLow - ctypes.wintypes.DWORD, # nNumberOfBytesToLockHigh -- ctypes.POINTER(OVERLAPPED) # Overlapped +- ctypes.POINTER(OVERLAPPED), # Overlapped - ] - LockFileEx.restype = ctypes.wintypes.BOOL - UnlockFileEx = kernel32.UnlockFileEx @@ -180,7 +180,7 @@ index 9efeb6a1c..34e84854c 100644 - ctypes.wintypes.DWORD, # dwReserved - ctypes.wintypes.DWORD, # nNumberOfBytesToLockLow - ctypes.wintypes.DWORD, # nNumberOfBytesToLockHigh -- ctypes.POINTER(OVERLAPPED) # Overlapped +- ctypes.POINTER(OVERLAPPED), # Overlapped - ] - UnlockFileEx.restype = ctypes.wintypes.BOOL - whole_low = 0xffffffff @@ -203,14 +203,14 @@ index 9efeb6a1c..34e84854c 100644 - assert f._lock_file_overlapped_p - handle = msvcrt.get_osfhandle(f.fileno()) - if not UnlockFileEx(handle, 0, whole_low, whole_high, f._lock_file_overlapped_p): -- raise OSError('Unlocking file failed: %r' % ctypes.FormatError()) +- raise OSError(f'Unlocking file failed: {ctypes.FormatError()!r}') - -else: +if True: try: import fcntl -@@ -1868,31 +1811,7 @@ def fix_xml_ampersands(xml_str): +@@ -1888,31 +1831,7 @@ def fix_xml_ampersands(xml_str): def setproctitle(title): diff --git a/pkg/yt-dlp/pylibs.txt b/pkg/yt-dlp/pylibs.txt @@ -88,6 +88,7 @@ yt_dlp/extractor/arnes.py yt_dlp/extractor/art19.py yt_dlp/extractor/arte.py yt_dlp/extractor/asobichannel.py +yt_dlp/extractor/asobistage.py yt_dlp/extractor/atresplayer.py yt_dlp/extractor/atscaleconf.py yt_dlp/extractor/atvat.py @@ -146,7 +147,7 @@ yt_dlp/extractor/businessinsider.py yt_dlp/extractor/buzzfeed.py yt_dlp/extractor/byutv.py yt_dlp/extractor/c56.py -yt_dlp/extractor/cableav.py +yt_dlp/extractor/caffeinetv.py yt_dlp/extractor/callin.py yt_dlp/extractor/caltrans.py yt_dlp/extractor/cam4.py @@ -223,6 +224,7 @@ yt_dlp/extractor/dailymail.py yt_dlp/extractor/dailymotion.py yt_dlp/extractor/dailywire.py yt_dlp/extractor/damtomo.py +yt_dlp/extractor/dangalplay.py yt_dlp/extractor/daum.py yt_dlp/extractor/daystar.py yt_dlp/extractor/dbtv.py @@ -236,8 +238,6 @@ yt_dlp/extractor/dhm.py yt_dlp/extractor/digitalconcerthall.py yt_dlp/extractor/digiteka.py yt_dlp/extractor/discogs.py -yt_dlp/extractor/discovery.py -yt_dlp/extractor/discoverygo.py yt_dlp/extractor/disney.py yt_dlp/extractor/dispeak.py yt_dlp/extractor/dlf.py @@ -262,7 +262,6 @@ yt_dlp/extractor/ebaumsworld.py yt_dlp/extractor/ebay.py yt_dlp/extractor/egghead.py yt_dlp/extractor/eighttracks.py -yt_dlp/extractor/einthusan.py yt_dlp/extractor/eitb.py yt_dlp/extractor/elementorembed.py yt_dlp/extractor/elonet.py @@ -289,6 +288,7 @@ yt_dlp/extractor/extractors.py yt_dlp/extractor/eyedotv.py yt_dlp/extractor/facebook.py yt_dlp/extractor/fancode.py +yt_dlp/extractor/fathom.py yt_dlp/extractor/faz.py yt_dlp/extractor/fc2.py yt_dlp/extractor/fczenit.py @@ -327,6 +327,7 @@ yt_dlp/extractor/gamespot.py yt_dlp/extractor/gamestar.py yt_dlp/extractor/gaskrank.py yt_dlp/extractor/gazeta.py +yt_dlp/extractor/gbnews.py yt_dlp/extractor/gdcvault.py yt_dlp/extractor/gedidigital.py yt_dlp/extractor/generic.py @@ -342,6 +343,7 @@ yt_dlp/extractor/globo.py yt_dlp/extractor/glomex.py yt_dlp/extractor/gmanetwork.py yt_dlp/extractor/go.py +yt_dlp/extractor/godresource.py yt_dlp/extractor/godtube.py yt_dlp/extractor/gofile.py yt_dlp/extractor/golem.py @@ -354,6 +356,7 @@ yt_dlp/extractor/gopro.py yt_dlp/extractor/goshgay.py yt_dlp/extractor/gotostage.py yt_dlp/extractor/gputechconf.py +yt_dlp/extractor/graspop.py yt_dlp/extractor/gronkh.py yt_dlp/extractor/groupon.py yt_dlp/extractor/harpodeon.py @@ -409,10 +412,10 @@ yt_dlp/extractor/ivideon.py yt_dlp/extractor/iwara.py yt_dlp/extractor/ixigua.py yt_dlp/extractor/izlesene.py -yt_dlp/extractor/jable.py yt_dlp/extractor/jamendo.py yt_dlp/extractor/japandiet.py yt_dlp/extractor/jeuxvideo.py +yt_dlp/extractor/jiocinema.py yt_dlp/extractor/jiosaavn.py yt_dlp/extractor/jixie.py yt_dlp/extractor/joj.py @@ -441,12 +444,14 @@ yt_dlp/extractor/ku6.py yt_dlp/extractor/kukululive.py yt_dlp/extractor/kuwo.py yt_dlp/extractor/la7.py +yt_dlp/extractor/laracasts.py yt_dlp/extractor/lastfm.py yt_dlp/extractor/laxarxames.py yt_dlp/extractor/lazy_extractors.py yt_dlp/extractor/lbry.py yt_dlp/extractor/lci.py yt_dlp/extractor/lcp.py +yt_dlp/extractor/learningonscreen.py yt_dlp/extractor/lecture2go.py yt_dlp/extractor/lecturio.py yt_dlp/extractor/leeco.py @@ -467,6 +472,7 @@ yt_dlp/extractor/livejournal.py yt_dlp/extractor/livestream.py yt_dlp/extractor/livestreamfails.py yt_dlp/extractor/lnkgo.py +yt_dlp/extractor/loom.py yt_dlp/extractor/lovehomeporn.py yt_dlp/extractor/lrt.py yt_dlp/extractor/lsm.py @@ -504,7 +510,6 @@ yt_dlp/extractor/metacritic.py yt_dlp/extractor/mgtv.py yt_dlp/extractor/microsoftembed.py yt_dlp/extractor/microsoftstream.py -yt_dlp/extractor/microsoftvirtualacademy.py yt_dlp/extractor/mildom.py yt_dlp/extractor/minds.py yt_dlp/extractor/minoto.py @@ -587,6 +592,7 @@ yt_dlp/extractor/npo.py yt_dlp/extractor/npr.py yt_dlp/extractor/nrk.py yt_dlp/extractor/nrl.py +yt_dlp/extractor/nts.py yt_dlp/extractor/ntvcojp.py yt_dlp/extractor/ntvde.py yt_dlp/extractor/ntvru.py @@ -662,7 +668,6 @@ yt_dlp/extractor/polsatgo.py yt_dlp/extractor/polskieradio.py yt_dlp/extractor/popcorntimes.py yt_dlp/extractor/popcorntv.py -yt_dlp/extractor/porn91.py yt_dlp/extractor/pornbox.py yt_dlp/extractor/pornflip.py yt_dlp/extractor/pornhub.py @@ -758,6 +763,7 @@ yt_dlp/extractor/sevenplus.py yt_dlp/extractor/sexu.py yt_dlp/extractor/seznamzpravy.py yt_dlp/extractor/shahid.py +yt_dlp/extractor/sharepoint.py yt_dlp/extractor/sharevideos.py yt_dlp/extractor/shemaroome.py yt_dlp/extractor/showroomlive.py @@ -792,6 +798,7 @@ yt_dlp/extractor/spotify.py yt_dlp/extractor/spreaker.py yt_dlp/extractor/springboardplatform.py yt_dlp/extractor/sprout.py +yt_dlp/extractor/sproutvideo.py yt_dlp/extractor/srgssr.py yt_dlp/extractor/srmediathek.py yt_dlp/extractor/stacommu.py @@ -817,6 +824,7 @@ yt_dlp/extractor/syfy.py yt_dlp/extractor/syvdk.py yt_dlp/extractor/sztvhu.py yt_dlp/extractor/tagesschau.py +yt_dlp/extractor/taptap.py yt_dlp/extractor/tass.py yt_dlp/extractor/tbs.py yt_dlp/extractor/tbsjp.py @@ -946,6 +954,7 @@ yt_dlp/extractor/videopress.py yt_dlp/extractor/vidio.py yt_dlp/extractor/vidlii.py yt_dlp/extractor/vidly.py +yt_dlp/extractor/vidyard.py yt_dlp/extractor/viewlift.py yt_dlp/extractor/viidea.py yt_dlp/extractor/viki.py @@ -961,10 +970,10 @@ yt_dlp/extractor/vodpl.py yt_dlp/extractor/vodplatform.py yt_dlp/extractor/voicy.py yt_dlp/extractor/volejtv.py -yt_dlp/extractor/voot.py yt_dlp/extractor/voxmedia.py yt_dlp/extractor/vrt.py yt_dlp/extractor/vtm.py +yt_dlp/extractor/vtv.py yt_dlp/extractor/vuclip.py yt_dlp/extractor/vvvvid.py yt_dlp/extractor/walla.py @@ -994,8 +1003,8 @@ yt_dlp/extractor/wwe.py yt_dlp/extractor/wykop.py yt_dlp/extractor/xanimu.py yt_dlp/extractor/xboxclips.py -yt_dlp/extractor/xfileshare.py yt_dlp/extractor/xhamster.py +yt_dlp/extractor/xiaohongshu.py yt_dlp/extractor/ximalaya.py yt_dlp/extractor/xinpianchang.py yt_dlp/extractor/xminus.py @@ -1014,8 +1023,6 @@ yt_dlp/extractor/youjizz.py yt_dlp/extractor/youku.py yt_dlp/extractor/younow.py yt_dlp/extractor/youporn.py -yt_dlp/extractor/yourporn.py -yt_dlp/extractor/yourupload.py yt_dlp/extractor/youtube.py yt_dlp/extractor/zaiko.py yt_dlp/extractor/zapiks.py @@ -1032,12 +1039,14 @@ yt_dlp/extractor/zype.py yt_dlp/jsinterp.py yt_dlp/minicurses.py yt_dlp/networking/__init__.py +yt_dlp/networking/_curlcffi.py yt_dlp/networking/_helper.py yt_dlp/networking/_requests.py yt_dlp/networking/_urllib.py yt_dlp/networking/_websockets.py yt_dlp/networking/common.py yt_dlp/networking/exceptions.py +yt_dlp/networking/impersonate.py yt_dlp/networking/websocket.py yt_dlp/options.py yt_dlp/plugins.py diff --git a/pkg/yt-dlp/sha256 b/pkg/yt-dlp/sha256 @@ -1 +1 @@ -1db8eade9e860543b655f5f973e26727ac2cc20874dc6fed9a3e78a4a05ee989 yt-dlp.tar.gz +e08331fb9a36eba56b4efd074b5b25fbf08413e9cb47009a28ecbffe47150310 yt-dlp.tar.gz diff --git a/pkg/yt-dlp/url b/pkg/yt-dlp/url @@ -1 +1 @@ -url = "https://github.com/yt-dlp/yt-dlp/releases/download/2024.03.10/yt-dlp.tar.gz" +url = "https://github.com/yt-dlp/yt-dlp/releases/download/2024.08.06/yt-dlp.tar.gz" diff --git a/pkg/yt-dlp/ver b/pkg/yt-dlp/ver @@ -1 +1 @@ -2024.03.10 r0 +2024.08.06 r0