]> jfr.im git - yt-dlp.git/commit - youtube_dlc/extractor/tiktok.py
[fix] python 2 "url" field is missing or empty
authorAakash Gajjar <redacted>
Sat, 1 Aug 2020 06:27:52 +0000 (11:57 +0530)
committerAakash Gajjar <redacted>
Sat, 1 Aug 2020 06:27:52 +0000 (11:57 +0530)
commitb19eec0d33e40ee5466669ac810f160648787dba
treeacb09d9a552ab153df112a81a59d1ed0c1f6c87e
parent6255e567d92e7d8fe7920c34db050a95b8d3ff7f
[fix] python 2 "url" field is missing or empty

`try_get` fails for `expected_type=str`, because in python 2
string has `unicode` type.

This commit removes the `expected_type` to disable the comparison.
youtube_dl/extractor/tiktok.py