1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-03 23:43:21 -04:00

#30 [mildom] Add extractor

Authored by @nao20010128nao
This commit is contained in:
The Hatsune Daishi
2021-01-22 22:43:30 +09:00
committed by GitHub
parent b46696bdc8
commit ffcb819171
3 changed files with 296 additions and 0 deletions

View File

@@ -5863,3 +5863,10 @@ def clean_podcast_url(url):
st\.fm # https://podsights.com/docs/
)/e
)/''', '', url)
_HEX_TABLE = '0123456789abcdef'
def random_uuidv4():
return re.sub(r'[xy]', lambda x: _HEX_TABLE[random.randint(0, 15)], 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx')