Skip to content

Commit eafe662

Browse files
committed
exposed home_url
1 parent 44d58df commit eafe662

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ffmpeg_downloader/_backend.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@
1616
else:
1717
from . import _linux as _
1818

19+
home_url = _.home_url
20+
1921
disclaimer_text = f"""
20-
You are about to download the latest FFmpeg release build from {_.home_url}.
22+
You are about to download the latest FFmpeg release build from {home_url}.
2123
Proceeding to download the file is done at your own discretion and risk and
2224
with agreement that you will be solely responsible for any damage to your
2325
computer system or loss of data that results from such activities.
@@ -26,7 +28,7 @@
2628

2729
donation_text = f"""Please remember that to maintain and host the FFmpeg binaries is not free.
2830
If you appreciate their effort, please consider donating to help them with
29-
the upkeep of their website via {_.home_url}.
31+
the upkeep of their website via {home_url}.
3032
"""
3133

3234
preset_env_vars = {
@@ -62,7 +64,6 @@ def list(force=None, proxy=None, retries=None, timeout=None):
6264
def search(
6365
version_spec, auto_select=None, force=None, proxy=None, retries=None, timeout=None
6466
):
65-
6667
version, option = parse_version(version_spec or "release")
6768
config = Config()
6869

@@ -205,7 +206,6 @@ def do(filename, url, content_type, size, *cache_info):
205206

206207

207208
def install(*install_files, progress=None):
208-
209209
dir = path.join(get_dir(), "ffmpeg")
210210
tmpdir = mkdtemp()
211211
failed = True

0 commit comments

Comments
 (0)