Example
Here is a code that will setup the selenium session and make a tweet
from src.start import *
from src.scrapper import *
def main():
selenium_session = start_selenium()
print("Hello world")
make_a_tweet(selenium_session,"Welcome to TwitterScrapingApi")
Here is a code that will retrieve the last 10 tweets of mrbeast and like them
from src.start import *
from src.scrapper import *
def main():
selenium_session = start_selenium()
mrbeast_tweet = get_list_of_user_tweet(selenium_session,"mrbeast",10)
for m in mrbeast_tweet:
like_a_tweet(selenium_session,m["url"])
print("Liking mrbeast tweet url: " , m["url"])
Here is a code that will change your bio , name , location and website to toto
from src.start import *
from src.scrapper import *
def main():
selenium_session = start_selenium()
change_bio(selenium_session,"toto")
change_name(selenium_session,"toto")
change_location(selenium_session,"toto")
change_url(selenium_session,"toto.com")
With all the function provided you can do a lot of great things