aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
diff options
context:
space:
mode:
authorlauren <lauren@selfisekai.rocks>2022-11-04 15:54:05 +0100
committerGitHub <noreply@github.com>2022-11-04 20:24:05 +0530
commit78545664bf80086a011494b2010f949b2f182b04 (patch)
tree07464ae8b10825d7b616be916604078611a22509 /yt_dlp/utils.py
parentf72218c1992d1eed446b3236a91e7613cec6039a (diff)
downloadhypervideo-pre-78545664bf80086a011494b2010f949b2f182b04.tar.lz
hypervideo-pre-78545664bf80086a011494b2010f949b2f182b04.tar.xz
hypervideo-pre-78545664bf80086a011494b2010f949b2f182b04.zip
[extractor/agora] Add extractors (#5101)
Authored by: selfisekai
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r--yt_dlp/utils.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py
index 1e2342f3e..7eef2c9cd 100644
--- a/yt_dlp/utils.py
+++ b/yt_dlp/utils.py
@@ -149,6 +149,11 @@ MONTH_NAMES = {
'fr': [
'janvier', 'février', 'mars', 'avril', 'mai', 'juin',
'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'],
+ # these follow the genitive grammatical case (dopełniacz)
+ # some websites might be using nominative, which will require another month list
+ # https://en.wikibooks.org/wiki/Polish/Noun_cases
+ 'pl': ['stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca',
+ 'lipca', 'sierpnia', 'września', 'października', 'listopada', 'grudnia'],
}
# From https://github.com/python/cpython/blob/3.11/Lib/email/_parseaddr.py#L36-L42