[ie/youtube:tab] Extract continuation from empty page (#12938)

Fixes https://github.com/yt-dlp/yt-dlp/issues/12933 https://github.com/yt-dlp/yt-dlp/issues/8206

Authored by: coletdjnz
This commit is contained in:
coletdjnz 2025-04-18 11:34:30 +12:00 committed by GitHub
parent 74e90dd9b8
commit 72ba487930
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 107 additions and 70 deletions

View file

@ -136,7 +136,7 @@ def _iter_differences(got, expected, field):
return
if op == 'startswith':
if not val.startswith(got):
if not got.startswith(val):
yield field, f'should start with {val!r}, got {got!r}'
return