Skip to content

Commit fd38467

Browse files
authored
Merge pull request #120 from Leodmanx2/currency_symbols
Add missing currency symbols to dictionary
2 parents 4966597 + 0f2015c commit fd38467

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

chat_downloader/sites/youtube.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,8 @@ def _get_simple_text(item):
778778
'£': 'GBP',
779779
'€': 'EUR',
780780
'₹': 'INR',
781+
'₪': 'ILS',
782+
'₱': 'PHP',
781783

782784
'₩': 'KRW',
783785
'₩': 'KRW',
@@ -788,7 +790,7 @@ def _get_simple_text(item):
788790

789791
# All other currency symbols use the ISO 4217 format:
790792
# https://en.wikipedia.org/wiki/ISO_4217
791-
# e.g. 'CHF', 'COP', 'HUF', 'PHP', 'PLN', 'RUB', 'SEK', 'PEN', 'ARS', 'CLP', 'NOK', 'BAM', 'SGD'
793+
# e.g. 'CHF', 'COP', 'HUF', 'PLN', 'RUB', 'SEK', 'PEN', 'ARS', 'CLP', 'NOK', 'BAM', 'SGD'
792794

793795
@ staticmethod
794796
def _parse_currency(item):

0 commit comments

Comments
 (0)