But the link may be similar to this one: example.com
Solution
As I noticed, the id's are in UUID format, presumably UUID-4.
```py
from uuid import UUID
...
try:
UUID(source)
is_video_id = True
except ValueError:
is_video_id = False
...
```
Well, or put this logic in the utilities.
https://stackoverflow.com/a/33245493
https://github.com/anijackich/kinescope-dl/blob/043da13cdb5b089cb68f03279e6070db25e5f117/kinescope-dl.py#L47
Alternative, more pythonic code:
But the link may be similar to this one: example.com
Solution
As I noticed, the id's are in UUID format, presumably UUID-4. ```py from uuid import UUID ... try: UUID(source) is_video_id = True except ValueError: is_video_id = False ... ``` Well, or put this logic in the utilities. https://stackoverflow.com/a/33245493