]> jfr.im git - yt-dlp.git/commitdiff
[extractor/youtube] Mark videos as fully watched
authorbsun0000 <redacted>
Tue, 18 Oct 2022 18:35:54 +0000 (00:05 +0530)
committerpukkandan <redacted>
Tue, 18 Oct 2022 18:37:47 +0000 (00:07 +0530)
Closes #2555
Authored by: bsun0000

yt_dlp/extractor/youtube.py

index a12e5b03e7f7c9bbded920bd94396a3c2dd8ecab..e894f74cdb44042a4da9a033603600604e83a0e2 100644 (file)
@@ -2955,7 +2955,7 @@ def _mark_watched(self, video_id, player_responses):
                 # these seem to mark watchtime "history" in the real world
                 # they're required, so send in a single value
                 qs.update({
-                    'st': video_length,
+                    'st': 0,
                     'et': video_length,
                 })