Skip to content

Commit 4d96342

Browse files
committed
Use https URLs where applicable
1 parent e6c5370 commit 4d96342

6 files changed

Lines changed: 13 additions & 10 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module supports Python 3 >= 3.10.
66
Libdiscid >= 0.2.2 is needed.
77

88
Libdiscid's main purpose is the calculation of an identifier of audio
9-
discs (disc ID) to use for the `MusicBrainz database <http://musicbrainz.org>`_.
9+
discs (disc ID) to use for the `MusicBrainz database <https://musicbrainz.org>`_.
1010

1111
That identifier is calculated from the TOC of the disc, similar to the
1212
freeDB CDDB identifier. Libdiscid can calculate MusicBrainz disc IDs and

discid/disc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def toc_string(self) -> str:
332332
333333
Note that this is the unencoded value, which still contains spaces.
334334
335-
.. seealso:: `MusicBrainz Web Service <http://musicbrainz.org/doc/Development/XML_Web_Service/Version_2#discid>`_
335+
.. seealso:: `MusicBrainz Web Service <https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2#discid>`_
336336
"""
337337
toc_string = self._get_toc_string()
338338
if toc_string is None and self.submission_url:

doc/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,16 @@ def discid_get_version_string(self):
6060
extlinks = {
6161
"source_download": (download_url, "%s"),
6262
"issue": ("https://github.com/metabrainz/python-discid/issues/%s", "#%s"),
63-
"musicbrainz": ("http://musicbrainz.org/doc/%s", "%s"),
63+
"musicbrainz": ("https://musicbrainz.org/doc/%s", "%s"),
6464
}
6565

6666
# there seems to be no way to prefer latest python documentation
6767
intersphinx_mapping = {
6868
"python": ("http://python.readthedocs.org/en/latest/", None),
69-
"musicbrainzngs": ("http://python-musicbrainzngs.readthedocs.org/en/latest/", None),
69+
"musicbrainzngs": (
70+
"https://python-musicbrainzngs.readthedocs.org/en/latest/",
71+
None,
72+
),
7073
}
7174

7275
rst_prolog = """

doc/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ can be extracted.
1111

1212
This module is released under the
1313
`GNU Lesser General Public License Version 3
14-
<http://www.gnu.org/licenses/lgpl.html>`_ or later (LGPL3+) and
14+
<https://www.gnu.org/licenses/lgpl.html>`_ or later (LGPL3+) and
1515
the code repository and the bug tracker are at GitHub_.
1616

1717
If you are interested in a binding for the MusicBrainz Web Service,
@@ -48,6 +48,6 @@ Indices and tables
4848
* :ref:`search`
4949

5050
.. _GitHub: https://github.com/metabrainz/python-discid
51-
.. _MusicBrainz: http://musicbrainz.org
51+
.. _MusicBrainz: https://musicbrainz.org
5252
.. _python-musicbrainzngs: https://python-musicbrainzngs.readthedocs.org/
53-
.. _python-libdiscid: http://pythonhosted.org/python-libdiscid/
53+
.. _python-libdiscid: https://pythonhosted.org/python-libdiscid/

doc/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ These packages are known:
2323
* Fedora:
2424
`python3-discid <https://packages.fedoraproject.org/pkgs/python3-discid/python3-discid/>`_
2525
* openSUSE:
26-
`python-discid <http://software.opensuse.org/package/python-discid>`_
26+
`python-discid <https://software.opensuse.org/package/python-discid>`_
2727
* Ubuntu:
2828
PPA (
2929
`musicbrainz-stable <https://launchpad.net/~musicbrainz-developers/+archive/stable>`_
@@ -74,7 +74,7 @@ that takes care of the *Libdiscid* dependency,
7474
you have to download it manually.
7575

7676
You can find several builds and the source
77-
at http://musicbrainz.org/doc/libdiscid.
77+
at https://musicbrainz.org/doc/libdiscid.
7878

7979
If no build for your platform is available,
8080
you have to build from source and install with::

doc/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ the total number of sectors for these tracks
4444
and the offset for every one of the tracks up to the last audio track.
4545

4646
An example for the TOC
47-
`TqvKjMu7dMliSfmVEBtrL7sBSno- <http://musicbrainz.org/cdtoc/TqvKjMu7dMliSfmVEBtrL7sBSno->`_::
47+
`TqvKjMu7dMliSfmVEBtrL7sBSno- <https://musicbrainz.org/cdtoc/TqvKjMu7dMliSfmVEBtrL7sBSno->`_::
4848

4949
first = 1
5050
last = 15

0 commit comments

Comments
 (0)