# "Look up with Map Service" uses a bad URL

**URL:** <https://gramps.discourse.group/t/look-up-with-map-service-uses-a-bad-url/4382>\
**Category:** Help\
**Tags:** hacks\
**Created:** [November 7, 2023, 4:21pm UTC](https://gramps.discourse.group/t/look-up-with-map-service-uses-a-bad-url/4382 "2023-11-07T16:21:47Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [November 9, 2023, 4:47pm UTC](https://gramps.discourse.group/t/look-up-with-map-service-uses-a-bad-url/4382/21 "2023-11-09T16:47:40Z")

</div>

The website is adding the extra information to the URL.

I put the URL for a PDF book I use into my browser. This is the URL I store in its Repository record.

```python
https://archive.org/details/descendantsofgeo00nutt

```

The website automatically used this URL

```python
https://archive.org/details/descendantsofgeo00nutt/page/n9/mode/2up

```

No need to over-think it. As of today, the code Gramps uses and sends to your browser returns the desired result.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [November 11, 2023, 9:24pm UTC](https://gramps.discourse.group/t/look-up-with-map-service-uses-a-bad-url/4382/22 "2023-11-11T21:24:30Z")

</div>

> [@DaveSch](#):
>
> As I pointed out, it does not like my use of “U.S.A.” as a country entry.

I have created [PR 1617](https://github.com/gramps-project/gramps/pull/1617) for this.

---

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [November 12, 2023, 11:30am UTC](https://gramps.discourse.group/t/look-up-with-map-service-uses-a-bad-url/4382/23 "2023-11-12T11:30:12Z")

</div>

> [@emyoulation](#):
>
> It seems like making this URL ‘selector’ reusable would be the next logical step.
> 
> And maybe adding a built-in option to toggle between URL and local path selector would be good too. Having to figure out that the local filepath needs to be prepended with a `file:///` (with 3 slashes) instead of `http://` or `https://` is a bit confusing. Plus, the Local Media Path and Backup Path can be browsed to set the path. That’s a lot more foolproof than typing (or pasting-then-editing) a path.

Even `file:///` will change some day or another:

> <https://superuser.com/questions/352133/why-do-file-urls-start-with-3-slashes/971837#971837>

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [December 12, 2023, 11:31am UTC](https://gramps.discourse.group/t/look-up-with-map-service-uses-a-bad-url/4382/24 "2023-12-12T11:31:10Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

[Previous page](https://gramps.discourse.group/t/look-up-with-map-service-uses-a-bad-url/4382.md?page=1)
