**1. Link the workshop environment centrally from the project folder at ZIH:**
Select the cell below and click <kbd>CTRL+ENTER</kbd> to run the cell. Once the `*` turns into a number (`1`), the process is finished.
Select the cell below and click <kbd>CTRL+ENTER</kbd> to run the cell. Once the `*`(left of the cell) turns into a number (`1`), the process is finished.
<details><summarystyle="cursor: pointer;"><strong>Refresh the browser window afterwards with <kbd>F5</kbd></strong></summary>
<details><summarystyle="cursor: pointer;"><strong>Refresh the browser window afterwards with <kbd>F5</kbd> and select <code>01_intro_env</code> in the top-right corner.</strong></summary>
Refresh the browser window afterwards with <kbd>F5</kbd>, so that the environment becomes available on the top-right dropdown list of kernels.
<details><summary><strong>Use your own hashtag</strong></summary>
Optionally replace "park" with another hashtag above
<details><summary><strong>Use your own location</strong></summary>
Optionally replace "1893214" with another location above. You can search on <ahref="https://instagram.com">instagram.com</a> and extract location IDs from the URL. Examples:
<li><code>270772352</code><ahref="https://www.instagram.com/explore/locations/270772352/knabackshusens-underbara-bad/">Knäbäckshusens beach, Sweden</a></li>
<li>You name it</li>
</ul>
</details>
</div>
...
...
@@ -328,6 +329,9 @@ if response.status_code == 429 \
or'<!DOCTYPE html>'inresponse.text:
print(f"Loading live json failed: {response.text[:250]}")
If the the url refers to the "login" page (or status_code 429), access is blocked. In this case, you can open the link using your browser and Instagram-Account to manually download the json and store it in Jupyter (left side) in `our/sample.json`. If such a file exists, it will be loaded:
<divstyle="width:500px">
If the the url refers to the "login" page (or status_code 429), access is blocked. In this case, you can open the link using your browser and Instagram-Account to manually download the json and store it in Jupyter (left side) in <code>our/sample.json</code>. If such a file exists, it will be loaded:</div>
```python
ifnotjson_text:
...
...
@@ -369,12 +366,12 @@ if not json_text:
</details>
Otherwise, ff neither live nor local json has been loaded, load sample json from archive:
Otherwise, if neither live nor local json has been loaded, load sample json from archive:
<detailsstyle="margin-left: 1em;"><summarystyle="cursor: pointer;"><strong>Link the environment for this notebook, if not already done.</strong></summary>Use this command in a notebook cell:
<li>Please make sure that <strong>"03_tagmaps_env"</strong> is shown on the
<li>For this notebook, please make sure that <code>03_tagmaps_env</code> is shown on the
<strong>top-right corner</strong>. If not, click & select.</li>
</ul>
<detailsstyle="margin-left: 1em;"><summarystyle="cursor: pointer;"><strong>Link the environment for this notebook, if not already done.</strong></summary>Use this command in a notebook cell: