# פענוח מזהה "upload://" לכתובת URL

**URL:** <https://meta.discourse.org/t/decoding-upload-identifier-to-url/200117>\
**Category:** Product Support\
**Created:** [11 באוגוסט,‏ 2021,‏ 9:38pm UTC](https://meta.discourse.org/t/decoding-upload-identifier-to-url/200117 "2021-08-11T21:38:43Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![amotl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amotl/32/109873_2.png) [@amotl](https://meta.discourse.org/u/amotl)\
**Post date:** [11 באוגוסט,‏ 2021,‏ 9:48pm UTC](https://meta.discourse.org/t/decoding-upload-identifier-to-url/200117/4 "2021-08-11T21:48:56Z")

</div>

> [@RGJ](#):
>
> Hard to find indeed, but here you go.
> 
> – [Converting short upload URLs to full URLs - #2 by michaeld](https://meta.discourse.org/t/converting-short-upload-urls-to-full-urls/131760/2)

Thanks a stack! For the records, I am exercising it on behalf of my example artefact.

```bash
pip install pybase62
python

```

```python
>>> import base62
>>> input = "gMd7ipqm8LhRdgpk1Qjg273QDO7"
>>> hex(base62.decode(input, base62.CHARSET_INVERTED))[2:].zfill(40)
'7595f1ad65c69e20c87dcb324f5d049080315aef'

```

Then, after adding the appropriate prefix, one can indeed derive the full URL.

```plaintext
https://community.hiveeyes.org/uploads/default/original/2X/7/7595f1ad65c69e20c87dcb324f5d049080315aef.wav

```

Thanks again, @RGJ and @michaeld!

---

_[View the full topic](https://meta.discourse.org/t/decoding-upload-identifier-to-url/200117)._
