From cefecac12cd3c70f9c7a30992c60b05c2eb5d34e Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 2 Sep 2020 20:25:25 +0200 Subject: [skip travis] renaming to avoid using same folder when using pip install for example --- devscripts/gh-pages/add-version.py | 6 +++--- devscripts/gh-pages/update-feed.py | 10 +++++----- devscripts/gh-pages/update-sites.py | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'devscripts/gh-pages') diff --git a/devscripts/gh-pages/add-version.py b/devscripts/gh-pages/add-version.py index 867ea0048..04588a5ee 100755 --- a/devscripts/gh-pages/add-version.py +++ b/devscripts/gh-pages/add-version.py @@ -22,9 +22,9 @@ if 'signature' in versions_info: new_version = {} filenames = { - 'bin': 'youtube-dl', - 'exe': 'youtube-dl.exe', - 'tar': 'youtube-dl-%s.tar.gz' % version} + 'bin': 'youtube-dlc', + 'exe': 'youtube-dlc.exe', + 'tar': 'youtube-dlc-%s.tar.gz' % version} build_dir = os.path.join('..', '..', 'build', version) for key, filename in filenames.items(): url = 'https://yt-dl.org/downloads/%s/%s' % (version, filename) diff --git a/devscripts/gh-pages/update-feed.py b/devscripts/gh-pages/update-feed.py index 506a62377..b07f1e830 100755 --- a/devscripts/gh-pages/update-feed.py +++ b/devscripts/gh-pages/update-feed.py @@ -11,24 +11,24 @@ atom_template = textwrap.dedent("""\ - youtube-dl releases - https://yt-dl.org/feed/youtube-dl-updates-feed + youtube-dlc releases + https://yt-dl.org/feed/youtube-dlc-updates-feed @TIMESTAMP@ @ENTRIES@ """) entry_template = textwrap.dedent(""" - https://yt-dl.org/feed/youtube-dl-updates-feed/youtube-dl-@VERSION@ + https://yt-dl.org/feed/youtube-dlc-updates-feed/youtube-dlc-@VERSION@ New version @VERSION@ - +
Downloads available at https://yt-dl.org/downloads/@VERSION@/
- The youtube-dl maintainers + The youtube-dlc maintainers @TIMESTAMP@
diff --git a/devscripts/gh-pages/update-sites.py b/devscripts/gh-pages/update-sites.py index 531c93c70..38acb5d9a 100755 --- a/devscripts/gh-pages/update-sites.py +++ b/devscripts/gh-pages/update-sites.py @@ -5,10 +5,10 @@ import sys import os import textwrap -# We must be able to import youtube_dl +# We must be able to import youtube_dlc sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) -import youtube_dl +import youtube_dlc def main(): @@ -16,7 +16,7 @@ def main(): template = tmplf.read() ie_htmls = [] - for ie in youtube_dl.list_extractors(age_limit=None): + for ie in youtube_dlc.list_extractors(age_limit=None): ie_html = '{}'.format(ie.IE_NAME) ie_desc = getattr(ie, 'IE_DESC', None) if ie_desc is False: -- cgit v1.2.3