remove __future__ imports
Browse files- pytube/__main__.py +0 -1
- pytube/cipher.py +0 -1
- pytube/cli.py +0 -2
- pytube/helpers.py +0 -1
- pytube/logging.py +0 -1
- pytube/mixins.py +0 -1
- pytube/streams.py +0 -1
- setup.py +1 -1
- tests/conftest.py +0 -1
pytube/__main__.py
CHANGED
@@ -7,7 +7,6 @@ exclusively on the developer interface. Pytube offloads the heavy lifting to
|
|
7 |
smaller peripheral modules and functions.
|
8 |
|
9 |
"""
|
10 |
-
from __future__ import absolute_import
|
11 |
|
12 |
import json
|
13 |
import logging
|
|
|
7 |
smaller peripheral modules and functions.
|
8 |
|
9 |
"""
|
|
|
10 |
|
11 |
import json
|
12 |
import logging
|
pytube/cipher.py
CHANGED
@@ -13,7 +13,6 @@ functions" (2) maps them to Python equivalents and (3) taking the ciphered
|
|
13 |
signature and decoding it.
|
14 |
|
15 |
"""
|
16 |
-
from __future__ import absolute_import
|
17 |
|
18 |
import logging
|
19 |
import pprint
|
|
|
13 |
signature and decoding it.
|
14 |
|
15 |
"""
|
|
|
16 |
|
17 |
import logging
|
18 |
import pprint
|
pytube/cli.py
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
"""A simple command line application to download youtube videos."""
|
3 |
-
from __future__ import absolute_import
|
4 |
-
from __future__ import print_function
|
5 |
|
6 |
import argparse
|
7 |
import datetime as dt
|
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
"""A simple command line application to download youtube videos."""
|
|
|
|
|
3 |
|
4 |
import argparse
|
5 |
import datetime as dt
|
pytube/helpers.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
"""Various helper functions implemented by pytube."""
|
3 |
-
from __future__ import absolute_import
|
4 |
|
5 |
import logging
|
6 |
import pprint
|
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
"""Various helper functions implemented by pytube."""
|
|
|
3 |
|
4 |
import logging
|
5 |
import pprint
|
pytube/logging.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
"""This module implements a log factory."""
|
3 |
-
from __future__ import absolute_import
|
4 |
|
5 |
import logging
|
6 |
|
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
"""This module implements a log factory."""
|
|
|
3 |
|
4 |
import logging
|
5 |
|
pytube/mixins.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
"""Applies in-place data mutations."""
|
3 |
-
from __future__ import absolute_import
|
4 |
|
5 |
import json
|
6 |
import logging
|
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
"""Applies in-place data mutations."""
|
|
|
3 |
|
4 |
import json
|
5 |
import logging
|
pytube/streams.py
CHANGED
@@ -7,7 +7,6 @@ combined). This was referred to as ``Video`` in the legacy pytube version, but
|
|
7 |
has been renamed to accommodate DASH (which serves the audio and video
|
8 |
separately).
|
9 |
"""
|
10 |
-
from __future__ import absolute_import
|
11 |
|
12 |
import io
|
13 |
import logging
|
|
|
7 |
has been renamed to accommodate DASH (which serves the audio and video
|
8 |
separately).
|
9 |
"""
|
|
|
10 |
|
11 |
import io
|
12 |
import logging
|
setup.py
CHANGED
@@ -19,7 +19,7 @@ setup(
|
|
19 |
package_data={"": ["LICENSE"],},
|
20 |
url="https://github.com/hbmartin/pytube3",
|
21 |
license="MIT",
|
22 |
-
entry_points={"console_scripts": ["
|
23 |
classifiers=[
|
24 |
"Development Status :: 5 - Production/Stable",
|
25 |
"Environment :: Console",
|
|
|
19 |
package_data={"": ["LICENSE"],},
|
20 |
url="https://github.com/hbmartin/pytube3",
|
21 |
license="MIT",
|
22 |
+
entry_points={"console_scripts": ["pytube3 = pytube.cli:main",],},
|
23 |
classifiers=[
|
24 |
"Development Status :: 5 - Production/Stable",
|
25 |
"Environment :: Console",
|
tests/conftest.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
"""Reusable dependency injected testing components."""
|
3 |
-
from __future__ import unicode_literals
|
4 |
|
5 |
import gzip
|
6 |
import json
|
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
"""Reusable dependency injected testing components."""
|
|
|
3 |
|
4 |
import gzip
|
5 |
import json
|