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

Support Youtube Cookies #3

Closed
herowinb opened this issue Oct 26, 2020 · 3 comments
Closed

Support Youtube Cookies #3

herowinb opened this issue Oct 26, 2020 · 3 comments

Comments

@herowinb
Copy link

herowinb commented Oct 26, 2020

Hi,
I want to monitor/download membership stream or over 18 years olds stream (some game stream need it) on Youtube. I see you are using streamlink to download "status live", but streamlink is not support cookies like youtube-dl (I'm using youtube-dl --cookies /cookies.txt to download live.ts).
Do you really need to use streamlink to download live stream?

Thank you for creating this live-dl.

@sparanoid
Copy link
Owner

When downloading livestreams. streamlink is more reliable than youtube-dl. I'll try adding cookies support later this month.

@herowinb
Copy link
Author

herowinb commented Jan 5, 2021

I am currently using youtube-dl and have no problems when downloading livestreams. Maybe it not stable when you use it with proxy.

youtube-dl \
		--ignore-config \
		--hls-use-mpegts \
                --no-part \
		--retries 30 \
		--cookies "./config/cookies.txt" \
		-o "${OUTPUT_PATH}${EXTENSION}" \
		"${WEBPAGE_URL}"

@sparanoid
Copy link
Owner

sparanoid commented Jan 5, 2021

Now added new ability to use youtube-dl for livestreams. And you can pass additional options to youtube-dl or streamlink:

./live-dl UC1opHUrw8rvnsadT-iGp7Cg \
  --debug \
  --ytdl-stream \
  --ytdl-args '--cookies "./config/cookies.txt"'

Update since v1.0.1:

You can not simply put your cookies.txt in the live-dl working directory for cookies support

jim60105 pushed a commit to jim60105/live-dl that referenced this issue Jan 7, 2021
feat: ability to pass additional options to youtube-dl and streamlink. ref sparanoid#3

(cherry picked from commit 3677820)
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