aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/youtube.py
diff options
context:
space:
mode:
authorLesmiscore <nao20010128@gmail.com>2022-08-14 21:04:13 +0900
committerGitHub <noreply@github.com>2022-08-14 17:34:13 +0530
commit62b58c0936cccc6f3e5115086406c7bfaf6fc551 (patch)
treedb9dd3ee5c0cebaa46557004deba869d59f6323c /yt_dlp/extractor/youtube.py
parent8f53dc44a0cc1c2d98c35740b9293462c080f5d0 (diff)
downloadhypervideo-pre-62b58c0936cccc6f3e5115086406c7bfaf6fc551.tar.lz
hypervideo-pre-62b58c0936cccc6f3e5115086406c7bfaf6fc551.tar.xz
hypervideo-pre-62b58c0936cccc6f3e5115086406c7bfaf6fc551.zip
[docs] Consistent use of `e.g.` (#4643)
Authored by: Lesmiscore
Diffstat (limited to 'yt_dlp/extractor/youtube.py')
-rw-r--r--yt_dlp/extractor/youtube.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py
index ef289e48c..5ac481bd7 100644
--- a/yt_dlp/extractor/youtube.py
+++ b/yt_dlp/extractor/youtube.py
@@ -3247,9 +3247,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
else -10 if 'descriptive' in (audio_track.get('displayName') or '').lower() and -10
else -1)
# Some formats may have much smaller duration than others (possibly damaged during encoding)
- # Eg: 2-nOtRESiUc Ref: https://github.com/yt-dlp/yt-dlp/issues/2823
+ # E.g. 2-nOtRESiUc Ref: https://github.com/yt-dlp/yt-dlp/issues/2823
# Make sure to avoid false positives with small duration differences.
- # Eg: __2ABJjxzNo, ySuUZEjARPY
+ # E.g. __2ABJjxzNo, ySuUZEjARPY
is_damaged = try_get(fmt, lambda x: float(x['approxDurationMs']) / duration < 500)
if is_damaged:
self.report_warning(
@@ -5834,7 +5834,7 @@ class YoutubeSearchURLIE(YoutubeTabBaseInfoExtractor):
class YoutubeMusicSearchURLIE(YoutubeTabBaseInfoExtractor):
- IE_DESC = 'YouTube music search URLs with selectable sections (Eg: #songs)'
+ IE_DESC = 'YouTube music search URLs with selectable sections, e.g. #songs'
IE_NAME = 'youtube:music:search_url'
_VALID_URL = r'https?://music\.youtube\.com/search\?([^#]+&)?(?:search_query|q)=(?:[^&]+)(?:[&#]|$)'
_TESTS = [{