Last active
August 29, 2024 16:10
-
-
Save trislee/c7cf5686537d23f78d1a6e9fde14b8d5 to your computer and use it in GitHub Desktop.
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, held on November 7 2024. | |
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 itertools import combinations, permutations | |
from math import factorial | |
a=((((((((1<<((1+1)))>>3)<<1)&((0b111<<0)))>>((1+0)))^((((0b0000)|0b0001)-(0b0<<(2-2))))+(((0b1)<<((0+0)))-(0b0<<2)))-1)) | |
b=len(sorted(bin(a))) | |
c=(int(bin(b)[(a+a):])) | |
value=b*(sum(map(lambda t:t[0]**t[a],combinations(range(a,b+b),b-a)))+a)*c*(((a+b)*(factorial(a+b)-a))*(c-a)**(b-a)-a)*(len(list(permutations(range(b),b-a)))-a) | |
url=f'https://events.eventzilla.net/e/advanced-scraping-webinar-{b+a}-hour-us-times-{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