Skip to content

Commit

Permalink
Updated youtuatools
Browse files Browse the repository at this point in the history
  • Loading branch information
dhhruv committed Jul 23, 2021
1 parent 14a3ddc commit 2724ad3
Show file tree
Hide file tree
Showing 823 changed files with 104,429 additions and 79,488 deletions.
299 changes: 146 additions & 153 deletions YouTua.py

Large diffs are not rendered by default.

2,021 changes: 1,214 additions & 807 deletions youtuatools/YoutubeDL.py

Large diffs are not rendered by default.

563 changes: 327 additions & 236 deletions youtuatools/__init__.py

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions youtuatools/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@

import sys

if __package__ is None and not hasattr(sys, 'frozen'):
if __package__ is None and not hasattr(sys, "frozen"):
# direct call of __main__.py
import os.path

path = os.path.realpath(os.path.abspath(__file__))
sys.path.insert(0, os.path.dirname(os.path.dirname(path)))

import youtube_dl

if __name__ == '__main__':
if __name__ == "__main__":
youtube_dl.main()
Loading

0 comments on commit 2724ad3

Please sign in to comment.