mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 06:10:12 +01:00
Merge bab2e67113
into f919729538
This commit is contained in:
commit
6a039036c0
|
@ -677,14 +677,17 @@ def _parse_safari_cookies_record(data, jar, logger):
|
||||||
_creation_date = _mac_absolute_time_to_posix(p.read_double()) # noqa: F841
|
_creation_date = _mac_absolute_time_to_posix(p.read_double()) # noqa: F841
|
||||||
|
|
||||||
try:
|
try:
|
||||||
p.skip_to(domain_offset)
|
temp = DataParser(data, logger)
|
||||||
domain = p.read_cstring()
|
temp.skip_to(domain_offset)
|
||||||
|
domain = temp.read_cstring()
|
||||||
|
|
||||||
p.skip_to(name_offset)
|
temp = DataParser(data, logger)
|
||||||
name = p.read_cstring()
|
temp.skip_to(name_offset)
|
||||||
|
name = temp.read_cstring()
|
||||||
|
|
||||||
p.skip_to(path_offset)
|
temp = DataParser(data, logger)
|
||||||
path = p.read_cstring()
|
temp.skip_to(path_offset)
|
||||||
|
path = temp.read_cstring()
|
||||||
|
|
||||||
p.skip_to(value_offset)
|
p.skip_to(value_offset)
|
||||||
value = p.read_cstring()
|
value = p.read_cstring()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user