Closed yetty closed 7 years ago
@yetty how would you recommend to implement it until v1.o realise?
Wow, this will be very useful, thank you!
The simpliest way is to get info in views. But it is supported only for Vimeo and SoundCloud backend. YouTube backend doesn't support it yet.
def my_view(...):
...
video = detect_backend(url)
try:
video.get_info()
except NotImplementedError:
pass
except VideoDoesntExistException:
# video doesnt exist
video = None
...
Proposal: