Skip to content

Commit 35722a2

Browse files
authored
Merge pull request #2380 from bsipocz/astrometry_update_url
Updating http-->https for astrometry.net
2 parents d53047b + ddef3b5 commit 35722a2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

astroquery/astrometry_net/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Conf(_config.ConfigNamespace):
1818
'',
1919
"The Astrometry.net API key."
2020
)
21-
server = _config.ConfigItem('http://nova.astrometry.net', 'Name of server')
21+
server = _config.ConfigItem('https://nova.astrometry.net', 'Name of server')
2222
timeout = _config.ConfigItem(120,
2323
'Default timeout for connecting to server')
2424

astroquery/astrometry_net/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class AstrometryNetClass(BaseQuery):
4343
TIMEOUT = conf.timeout
4444
API_URL = url_helpers.join(URL, 'api')
4545

46-
# These are drawn from http://astrometry.net/doc/net/api.html#submitting-a-url
46+
# These are drawn from https://astrometry.net/doc/net/api.html#submitting-a-url
4747
_constraints = {
4848
'allow_commercial_use': {'default': 'd', 'type': str, 'allowed': ('d', 'y', 'n')},
4949
'allow_modifications': {'default': 'd', 'type': str, 'allowed': ('d', 'y', 'n')},

docs/astrometry_net/astrometry_net.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ but often it's convenient to force it to be the center of the image. This can be
304304
License and Sharing
305305
-------------------
306306

307-
The Astrometry.net [website](http://nova.astrometry.net/) allows users to upload images
307+
The Astrometry.net [website](https://nova.astrometry.net/) allows users to upload images
308308
as well as catalogs to be used in generating an astrometric solution, so the site gives
309309
users the choice of licenses for their publically available images. Since the astroquery
310310
astrometry.net api is only uploading a source catalog the choice of ``public_visibility``,
@@ -346,5 +346,5 @@ Reference/API
346346
.. automodapi:: astroquery.astrometry_net
347347
:no-inheritance-diagram:
348348

349-
.. _astrometry.net: http://astrometry.net/
349+
.. _astrometry.net: https://astrometry.net/
350350
.. _photutils: https://photutils.readthedocs.io

0 commit comments

Comments
 (0)