Skip to content

Commit

Permalink
Update links etc
Browse files Browse the repository at this point in the history
  • Loading branch information
wragge committed Aug 14, 2019
1 parent f520ad5 commit 68db90d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Using-TroveHarvester-to-get-newspaper-articles-in-bulk.ipynb
Expand Up @@ -17,8 +17,8 @@
"<p>\n",
" Some tips:\n",
" <ul>\n",
" <li>Code cells have boxes around them. When you hover over them a <i class=\"fa-step-forward fa\"></i> icon appears.</li>\n",
" <li>To run a code cell either click the <i class=\"fa-step-forward fa\"></i> icon, or click on the cell and then hit <b>Shift+Enter</b>. The <b>Shift+Enter</b> combo will also move you to the next cell, so it's a quick way to work through the notebook.</li>\n",
" <li>Code cells have boxes around them.</li>\n",
" <li>To run a code cell click on the cell and then hit <b>Shift+Enter</b>. The <b>Shift+Enter</b> combo will also move you to the next cell, so it's a quick way to work through the notebook.</li>\n",
" <li>While a cell is running a <b>*</b> appears in the square brackets next to the cell. Once the cell has finished running the asterix will be replaced with a number.</li>\n",
" <li>In most cases you'll want to start from the top of notebook and work your way down running each cell in turn. Later cells might depend on the results of earlier ones.</li>\n",
" <li>To edit a code cell, just click on it and type stuff. Remember to run the cell once you've finished editing.</li>\n",
Expand Down Expand Up @@ -88,7 +88,7 @@
"metadata": {},
"outputs": [],
"source": [
"api_key = '6pi5hht0d2umqcro'\n",
"api_key = ''\n",
"print('Your API key is: {}'.format(api_key))"
]
},
Expand Down Expand Up @@ -281,9 +281,9 @@
"metadata": {},
"outputs": [],
"source": [
"from IPython.core.display import display, HTML\n",
"from IPython.display import display, FileLink\n",
"\n",
"display(HTML('<a target=\"_blank\" href=\"data/{}.zip\">Download your harvest</a>'.format(timestamp)))"
"display(FileLink(f'data/{timestamp}.zip'))"
]
},
{
Expand All @@ -306,7 +306,7 @@
"source": [
"----\n",
"\n",
"Created by [Tim Sherrratt](https://timsherratt.org) ([@wragge](https://twitter.com/wragge)) as part of the [OzGLAM workbench](https://github.com/wragge/ozglam-workbench).\n",
"Created by [Tim Sherrratt](https://timsherratt.org) ([@wragge](https://twitter.com/wragge)) as part of the [GLAM workbench](https://glam-workbench.github.io/).\n",
"\n",
"If you think this project is worthwhile you can [support it on Patreon](https://www.patreon.com/timsherratt)."
]
Expand Down Expand Up @@ -335,9 +335,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}

0 comments on commit 68db90d

Please sign in to comment.