From 2558a339d77e043921d3456e7800d1746a262d2f Mon Sep 17 00:00:00 2001 From: dove <147140405+slipinthedove@users.noreply.github.com> Date: Sat, 21 Dec 2024 00:41:03 -0300 Subject: [PATCH 1/3] =?UTF-8?q?woops=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yt_dlp/extractor/globo.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yt_dlp/extractor/globo.py b/yt_dlp/extractor/globo.py index c7e5ffb378..fabd75f9b7 100644 --- a/yt_dlp/extractor/globo.py +++ b/yt_dlp/extractor/globo.py @@ -80,6 +80,9 @@ class GloboIE(InfoExtractor): 'title': 'Acordo de damas', 'episode_number': 1, 'season_number': 2 + }, + 'params': { + 'skip_download': True } }] From 254765b07209d91a8252b921f83051cf2a71b9e5 Mon Sep 17 00:00:00 2001 From: dove <147140405+slipinthedove@users.noreply.github.com> Date: Sat, 21 Dec 2024 00:42:37 -0300 Subject: [PATCH 2/3] this is why one should never make stuff from the raw-editor without prior checking --- yt_dlp/extractor/globo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/globo.py b/yt_dlp/extractor/globo.py index fabd75f9b7..1d48ba2bae 100644 --- a/yt_dlp/extractor/globo.py +++ b/yt_dlp/extractor/globo.py @@ -141,7 +141,7 @@ class GloboIE(InfoExtractor): 'uploader': ('title', 'headline', {str}), 'uploader_id': ('title', 'originProgramId', {str_or_none}), 'episode_number': ('relatedEpisodeNumber', {int_or_none}), - 'season_number' ('relatedSeasonNumber', {int_or_none}), + 'season_number': ('relatedSeasonNumber', {int_or_none}), }), 'formats': formats, 'subtitles': subtitles, From 340ad4b8122846dc785b163dea53f55aa3ea12f7 Mon Sep 17 00:00:00 2001 From: dove <147140405+slipinthedove@users.noreply.github.com> Date: Sat, 21 Dec 2024 00:44:53 -0300 Subject: [PATCH 3/3] like, ever --- yt_dlp/extractor/globo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/extractor/globo.py b/yt_dlp/extractor/globo.py index 1d48ba2bae..93d9284f99 100644 --- a/yt_dlp/extractor/globo.py +++ b/yt_dlp/extractor/globo.py @@ -5,6 +5,7 @@ import uuid from .common import InfoExtractor from ..utils import ( float_or_none, + int_or_none, orderedSet, str_or_none, try_get,