|
@ -1259,7 +1259,20 @@ def tutorial_6(): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######################### TUTORIAL 10 TEST |
|
|
|
|
|
@app.route("/tutorial_10") |
|
|
|
|
|
def tutorial_10(): |
|
|
|
|
|
url="https://daap.bannerrepeater.org/w/index.php?title=Tutorial_10&action=render" |
|
|
|
|
|
# Make a GET request to fetch the raw HTML content |
|
|
|
|
|
html_content = requests.get(url).text |
|
|
|
|
|
# Parse the html content |
|
|
|
|
|
soup = BeautifulSoup(html_content, "lxml") |
|
|
|
|
|
# print(soup.prettify()) # print the parsed data of html |
|
|
|
|
|
|
|
|
|
|
|
text=soup.find("html") |
|
|
|
|
|
text=Markup(text) |
|
|
|
|
|
# print(text) |
|
|
|
|
|
return render_template('tutorials.html', text=text) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|