mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-28 22:16:06 -04:00
Run isort
Signed-off-by: nathom <nathanthomas707@gmail.com>
This commit is contained in:
parent
81d0686c26
commit
3bd9c815f3
4 changed files with 7 additions and 6 deletions
|
@ -12,7 +12,7 @@ import re
|
||||||
import shutil
|
import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
from tempfile import gettempdir
|
from tempfile import gettempdir
|
||||||
from typing import Any, Union, Optional
|
from typing import Any, Optional, Union
|
||||||
|
|
||||||
import click
|
import click
|
||||||
import tqdm
|
import tqdm
|
||||||
|
|
|
@ -20,8 +20,8 @@ from .metadata import TrackMetadata
|
||||||
from .utils import (
|
from .utils import (
|
||||||
clean_format,
|
clean_format,
|
||||||
get_container,
|
get_container,
|
||||||
safe_get,
|
|
||||||
get_stats_from_quality,
|
get_stats_from_quality,
|
||||||
|
safe_get,
|
||||||
tidal_cover_url,
|
tidal_cover_url,
|
||||||
tqdm_download,
|
tqdm_download,
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,7 +5,7 @@ import logging
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
from string import Formatter
|
from string import Formatter
|
||||||
from typing import Dict, Hashable, Optional, Union, Tuple
|
from typing import Dict, Hashable, Optional, Tuple, Union
|
||||||
|
|
||||||
import click
|
import click
|
||||||
import requests
|
import requests
|
||||||
|
@ -14,7 +14,7 @@ from requests.packages import urllib3
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
|
|
||||||
from .constants import AGENT, TIDAL_COVER_URL
|
from .constants import AGENT, TIDAL_COVER_URL
|
||||||
from .exceptions import InvalidSourceError, NonStreamable, InvalidQuality
|
from .exceptions import InvalidQuality, InvalidSourceError, NonStreamable
|
||||||
|
|
||||||
urllib3.disable_warnings()
|
urllib3.disable_warnings()
|
||||||
logger = logging.getLogger("streamrip")
|
logger = logging.getLogger("streamrip")
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
import subprocess
|
|
||||||
import click
|
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
import subprocess
|
||||||
|
|
||||||
|
import click
|
||||||
|
|
||||||
test_urls = {
|
test_urls = {
|
||||||
"qobuz": "https://www.qobuz.com/us-en/album/blackest-blue-morcheeba/h4nngz0wgqesc",
|
"qobuz": "https://www.qobuz.com/us-en/album/blackest-blue-morcheeba/h4nngz0wgqesc",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue