Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle t query param #4

Open
dmtrKovalenko opened this issue Mar 9, 2020 · 1 comment
Open

Handle t query param #4

dmtrKovalenko opened this issue Mar 9, 2020 · 1 comment

Comments

@dmtrKovalenko
Copy link

Youtube has specified t param contains amount of seconds you watched.
Like when I am watching some video, then just copy the link and continue watching from the same point.

Giant thanks for this package 🍿

@JonnyBurger
Copy link
Owner

I would accept a PR, it seems possible from ytdl-core docs:

begin - What time in the video to begin. Supports formats 00:00:00.000, 0ms, 0s, 0m, 0h, or number of milliseconds. Example: 1:30, 05:10.123, 10m30s.
For live videos, this also accepts a unix timestamp or Date, and defaults to Date.now().
This option is not very reliable, see #129, #219.

We have to be vary that it doesn't seem to work totally reliably

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants