embed videos tutorial 10
This commit is contained in:
parent
5fe7931c68
commit
8dbb32db8a
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user