Paste code into the browser command line. First the funciton definitions in create_events.js
and press enter. Then contents of example_usage.js
to create some events and press enter:
Once you do that it'll download an ics file:
from bs4 import BeautifulSoup | |
import requests | |
search = "boto3" | |
r = requests.get(f"https://pypi.org/search/?q={search}") | |
print(r.status_code) | |
soup = BeautifulSoup(r.text, 'html.parser') | |
packages = soup.find_all("h3", class_="package-snippet__title") |
new Vue({ | |
el: "#app", | |
new Router({ | |
mode: "history", | |
routes: [ | |
{ path: "/", component: httpVueLoader("components/dash.vue") } | |
] | |
}) | |
}); |