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

[Feature Request] Extend log #183

Open
3 tasks done
mbnoimi opened this issue Oct 11, 2020 · 5 comments
Open
3 tasks done

[Feature Request] Extend log #183

mbnoimi opened this issue Oct 11, 2020 · 5 comments
Labels

Comments

@mbnoimi
Copy link

mbnoimi commented Oct 11, 2020

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dlc version 2020.10.09
  • I've searched the bugtracker for similar feature requests including closed ones

Description

During downloading a full YouTube channel some videos give The uploader has not made this video available in your country but the log doesn't mention which video generated the error message.

I suggest to add the link of the video in addition to the error message.

@mbnoimi mbnoimi changed the title [Feature Request]Extend log [Feature Request] Extend log Oct 11, 2020
@blackjack4494
Copy link
Owner

How are you using youtube-dlc (pip or executable)?
I can bundle you a slightly modified version which you could test.
I tried to test two geoblocked videos but unfortunately both are age restricted to 18+ so even if I provide cookies it won't show me the geo restriction error but rather spit out YouTube said: Unable to extract video data which is according to the code logical as the geo check comes in way later.
So I may have to move the code block for geo checks way further up before it actually checks for other restrictions like age.
In my opinion geo restrictions are stronger than age restricted ones (if you think of some kind of hierachy).

@mbnoimi
Copy link
Author

mbnoimi commented Oct 12, 2020

How are you using youtube-dlc (pip or executable)?

I'm using pip's version

tried to test two geoblocked videos but unfortunately both are age restricted to 18+

In this channel you can find some videos geo restricted without age restriction; but unfortunately I don't know which video is geo restricted

@mbnoimi
Copy link
Author

mbnoimi commented Oct 12, 2020

Voila, I could capture a video with geo restricted without age restriction
https://www.youtube.com/watch?v=EQd1s959fKY
image
image

I use this service for checking geo restriction

@mbnoimi
Copy link
Author

mbnoimi commented Oct 12, 2020

I did this test:

$ youtube-dlc --newline -i --age-limit 30 -R 99 --hls-prefer-native https://www.youtube.com/watch?v=EQd1s959fKY
[youtube] EQd1s959fKY: Downloading webpage
[youtube] EQd1s959fKY: Downloading embed webpage
ERROR: Video is age restricted and only playable on Youtube. Requires cookies!
$ youtube-dlc --newline -i --proxy SOCKS5://82.102.188.194:1080 --age-limit 30 -R 99 --hls-prefer-native https://www.youtube.com/watch?v=EQd1s959fKY
[youtube] EQd1s959fKY: Downloading webpage
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: حركة الدينار.. الجزيرة الوثائقية-EQd1s959fKY.f137.mp4
[download]   0.0% of 760.27MiB at  6.18KiB/s ETA 35:00:24
[download]   0.0% of 760.27MiB at 18.49KiB/s ETA 11:41:42
[download]   0.0% of 760.27MiB at 42.98KiB/s ETA 05:01:55
[download]   0.0% of 760.27MiB at 91.64KiB/s ETA 02:21:37
[download]   0.0% of 760.27MiB at 181.74KiB/s ETA 01:11:24
[download]   0.0% of 760.27MiB at 190.43KiB/s ETA 01:08:08
[download]   0.0% of 760.27MiB at 257.85KiB/s ETA 50:18
[download]   0.0% of 760.27MiB at 270.17KiB/s ETA 48:00
[download]   0.1% of 760.27MiB at 346.88KiB/s ETA 37:22
[download]   0.1% of 760.27MiB at 422.20KiB/s ETA 30:41
[download]   0.2% of 760.27MiB at 487.40KiB/s ETA 26:34
[download]   0.3% of 760.27MiB at 567.45KiB/s ETA 22:48
[download]   0.4% of 760.27MiB at 646.65KiB/s ETA 19:59
[download]   0.5% of 760.27MiB at 697.32KiB/s ETA 18:30
[download]   0.6% of 760.27MiB at 775.11KiB/s ETA 16:37
[download]   0.8% of 760.27MiB at 883.26KiB/s ETA 14:33
[download]   1.1% of 760.27MiB at 947.49KiB/s ETA 13:33
[download]   1.2% of 760.27MiB at 1005.61KiB/s ETA 12:44
[download]   1.3% of 760.27MiB at 1014.33KiB/s ETA 12:37
^C
ERROR: Interrupted by user
$

@blackjack4494
Copy link
Owner

For me it says age restricted
image

However still have to change order of error messages.
Played a bit around. Just need to format output
image

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

No branches or pull requests

2 participants