Skip to content

Commit 0833f63

Browse files
authored
Merge pull request #2230 from bsipocz/NED_fix_string
NED: String has to remain raw
2 parents 6cd5622 + 1c8f8a1 commit 0833f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/ipac/ned/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def _extract_image_urls(self, html_in, file_format='fits'):
518518
'VO-table': 'VOTable'}
519519

520520
pattern = re.compile(
521-
f'<a\s+href\s*?="?\s*?(.+?{extensions[file_format]})"?\s*?>\s*?(?:Retrieve|{names[file_format]})</a>',
521+
fr'<a\s+href\s*?="?\s*?(.+?{extensions[file_format]})"?\s*?>\s*?(?:Retrieve|{names[file_format]})</a>',
522522
re.IGNORECASE)
523523
matched_urls = pattern.findall(html_in)
524524
url_list = [base_url + img_url for img_url in matched_urls]

0 commit comments

Comments
 (0)