Spaces:
Sleeping
Sleeping
CaesarCloudSync commited on
Commit ·
80124db
1
Parent(s): efb837f
caesarpytube
Browse files- __pycache__/caesarmusic.cpython-310.pyc +0 -0
- caesarpytube/__cache__/tokens.json +1 -0
- caesarpytube/__init__.py +1 -1
- caesarpytube/__pycache__/__init__.cpython-310.pyc +0 -0
- caesarpytube/__pycache__/__main__.cpython-310.pyc +0 -0
- caesarpytube/__pycache__/innertube.cpython-310.pyc +0 -0
- caesarpytube/innertube.py +1 -1
__pycache__/caesarmusic.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/caesarmusic.cpython-310.pyc and b/__pycache__/caesarmusic.cpython-310.pyc differ
|
|
|
caesarpytube/__cache__/tokens.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"access_token": "ya29.a0AWY7CklZ3AiXBTQoBWEwFj9uGiJgf1jfklxnP6tPPeoksOkUA7azDWlNFlE7jfGPpXPLBe0b3nr0OX1PNmRXU3-NOgsElYLIFzzbSkf_mnFTJVAqcCgutCtSyh8TMn2bAkfMB23OQLrCmNvwKWY-SrwTlEVa-JqRtxLl9BKe8hYaCgYKAUoSARMSFQG1tDrpcTuV-F_CBs2aYYLYHX-y5A0178", "refresh_token": "1//03pyryNatyf-TCgYIARAAGAMSNwF-L9IrAXeiwGcBmkneRF8FNi3EPtiR066_fiQmnFk42K_yHWeynGmrKm2mjZ7nXUIixHhYQXY", "expires": 1683203361}
|
caesarpytube/__init__.py
CHANGED
|
@@ -13,7 +13,7 @@ from pytube.version import __version__
|
|
| 13 |
from pytube.streams import Stream
|
| 14 |
from pytube.captions import Caption
|
| 15 |
from pytube.query import CaptionQuery, StreamQuery
|
| 16 |
-
from
|
| 17 |
from pytube.contrib.playlist import Playlist
|
| 18 |
from pytube.contrib.channel import Channel
|
| 19 |
from pytube.contrib.search import Search
|
|
|
|
| 13 |
from pytube.streams import Stream
|
| 14 |
from pytube.captions import Caption
|
| 15 |
from pytube.query import CaptionQuery, StreamQuery
|
| 16 |
+
from caesarpytube.__main__ import YouTube
|
| 17 |
from pytube.contrib.playlist import Playlist
|
| 18 |
from pytube.contrib.channel import Channel
|
| 19 |
from pytube.contrib.search import Search
|
caesarpytube/__pycache__/__init__.cpython-310.pyc
CHANGED
|
Binary files a/caesarpytube/__pycache__/__init__.cpython-310.pyc and b/caesarpytube/__pycache__/__init__.cpython-310.pyc differ
|
|
|
caesarpytube/__pycache__/__main__.cpython-310.pyc
ADDED
|
Binary file (13 kB). View file
|
|
|
caesarpytube/__pycache__/innertube.cpython-310.pyc
ADDED
|
Binary file (8.65 kB). View file
|
|
|
caesarpytube/innertube.py
CHANGED
|
@@ -71,7 +71,7 @@ _default_clients = {
|
|
| 71 |
_token_timeout = 1800
|
| 72 |
_cache_dir = pathlib.Path(__file__).parent.resolve() / '__cache__'
|
| 73 |
_token_file = os.path.join(_cache_dir, 'tokens.json')
|
| 74 |
-
|
| 75 |
|
| 76 |
class InnerTube:
|
| 77 |
"""Object for interacting with the innertube API."""
|
|
|
|
| 71 |
_token_timeout = 1800
|
| 72 |
_cache_dir = pathlib.Path(__file__).parent.resolve() / '__cache__'
|
| 73 |
_token_file = os.path.join(_cache_dir, 'tokens.json')
|
| 74 |
+
print(_cache_dir)
|
| 75 |
|
| 76 |
class InnerTube:
|
| 77 |
"""Object for interacting with the innertube API."""
|