/get_registration_link.py Secret
Last active
August 2, 2023 13:25
Star
You must be signed in to star a gist
Retrieve the registration link to a free Bellingcat webinar for intermediate-level social media scraping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""This script retrieves the registration link to a paid Bellingcat webinar for | |
social media scraping. | |
To ensure every participant gets the most out of the webinar, we require that | |
each participant is familiar with the very basics of Python (configuring an | |
environment, installing packages, running scripts) | |
By being able to run this script (using Python version 3.x) and getting the | |
correct webinar link, you're demonstrating that you meet those requirements. | |
If you have no idea what a Python environment is, or how to run this script, | |
don't worry! We offer beginner-level programming and command-line webinars too. | |
""" | |
from datetime import datetime | |
import pandas as pd | |
import numpy as np | |
if __name__ == '__main__': | |
a=3 | |
b=int(str(a-1)*a) | |
c=a+1 | |
d=1/(a**2+1) | |
e=(c+1)/d | |
x=np.arange(c,e,d) | |
v1=(pd.DataFrame(a*x**2-b*x-(np.pi*np.exp(np.exp(2**0.5)))).idxmin()*d)+c | |
value=(np.sqrt(c)**c*a*(e*d)*((b+(c**2/int(str(b)[0])))*d)*v1**(a-1)*int(bin(int(str(datetime.now().year-(c*a))+str(b-int(str(b)[0])),a))[a:-1],c//2))+(v1/d+1) | |
url=f'https://events.eventzilla.net/e/advanced-scraping-webinar-{c}-hour-{int(value)}' | |
print(f'The link to the webinar registration page is: {url}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment