diff --git a/portable.py b/portable.py new file mode 100644 index 0000000..8c24a09 --- /dev/null +++ b/portable.py @@ -0,0 +1,110 @@ +import flask +import requests + +app = flask.Flask(__name__) +googlebot_headers = { + "User-Agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" +} +html = """ + + + + +