Skip to content

SAPISIDHASH generation problem #1012

@t1wt

Description

@t1wt

Question

Hello. Isn't this how sapisidhash is generated now?

DATASYNC_ID = ytcfg.data_.DATASYNC_ID.split('||')[0]
TIMESTAMP = Math.floor(new Date().getTime() / 1E3)
SAPISID = cookies['SAPISID']
ORIGIN = "https://www.youtube.com"

??

If I'm not mistaken, datasync is not taken into account in ytjs.

Other details

No response

Checklist

  • I am running the latest version.
  • I checked the documentation and found no answer.
  • I have searched the existing issues and made sure this is not a duplicate.
  • I have provided sufficient information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions