question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add method to check if a video has been country blocked

See original GitHub issue

It would be very useful (for me, anyways) to be able to check if a video has been blocked in my country before I attempt to download it. I feel a simple method added to the Video class that would return a boolean would do the trick.

I hope you’d be able to do this with relative ease 👍

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Giggitybytecommented, Oct 10, 2018

Alrighty then, whatever you can implement then would be great to have.

1reaction
Tyrrrzcommented, Oct 8, 2018

Didn’t prioritize it yet, mostly because I struggle to find the use case, considering you can always try/catch. Also, in case you’re wondering, #155 does not have regionsAllowed anywhere.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I check if a youtube video is blocked/restricted ...
To check if video(s) have been removed from YouTube, send a videos:list request with the video ID(s). For a single ID you can...
Read more >
Check YouTube Video Region Restrictions Online
This online tool lets you see check any YouTube video to see in which countries it is blocked at. It accepts both regular...
Read more >
How to Check Youtube Video Blocked in Specific Country
How to Check Youtube Video Blocked in Specific Country. Block video views outside of your ownership. How do I set up geo-fencing for...
Read more >
How to Access Region Blocked Videos Without a VPN
Copy the URL of the region locked YouTube video; Paste it into your browser's address bar; Click or tap so the insertion point...
Read more >
add "This video contains content from foo, who has blocked ...
Currently, if a video is geo-blocked, it'll show the This video is not allowed in your country/This video contains content from message, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found