diff --git a/src/backgrounds/scrape_background.ipynb b/src/backgrounds/scrape_background.ipynb index ca5ad00..1fc2027 100644 --- a/src/backgrounds/scrape_background.ipynb +++ b/src/backgrounds/scrape_background.ipynb @@ -74,11 +74,11 @@ " continue\n", " elif e.previous_sibling.name == 'br':\n", " # If this element and the previous are br\n", - " # and the next is not append \\n\n", - " description = description + ' \\n\\n '\n", + " # and the next is not append /n\n", + " description = description + ' /n/n'\n", " else:\n", - " # If there is just one br append \\n\n", - " description = description + ' \\n '\n", + " # If there is just one br append /n\n", + " description = description + ' /n'\n", " else:\n", " # Append the text inside the element\n", " description = description + e.text.strip()\n", @@ -126,13 +126,6 @@ "source": [ "description_background.to_csv('background.csv', encoding='UTF-8', index=False)" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": {