]>
jfr.im git - yt-dlp.git/blob - youtube_dl/__main__.py
138f5fbec39f1e0e84051b092ff0cae6974212cf
2 from __future__
import unicode_literals
5 # $ python youtube_dl/__main__.py (2.6+)
6 # $ python -m youtube_dl (2.7+)
10 if __package__
is None and not hasattr(sys
, 'frozen'):
11 # direct call of __main__.py
13 path
= os
.path
.realpath(os
.path
.abspath(__file__
))
14 sys
.path
.insert(0, os
.path
.dirname(os
.path
.dirname(path
)))
18 if __name__
== '__main__':