DISCLAIMER: This script and shortcut may only be used on your own property! Do not use this code if you do not own the domains/phone numbers or have permission from the owner of the domains/phone numbers.
- You need to download the selenium Firefox driver and put it in the root directory of this project.
- Run
export PATH=$PATH:
in root of project - Run
pip3 install -r requirements.txt
(Ubuntu) orpip install -r requirements.txt
(MacOS) - Go to your website and into the url that has the form. Copy that url into the
URL
constant. - In your form right click one of the inputs and select "Inspect element". Right click the HTML for the input and select "Copy -> Copy xPath". Note: Some browsers have the option "Copy full xpath" it did not work for me.
- Paste the xpath into a
find_element_by_xpath
function and save it in a nicely named attribute. - In the
apply()
method and fill in the data of your elements with garbage. - Run
python3 post_mania.py
(Ubuntu) orpython post_mania.py
(MacOS) - Sit back and relax :)
You can find the shortcut here: https://www.icloud.com/shortcuts/3a4e4d8e97e745e7a6bfbf11638734a3 Note: The shortcut may not run more than 50 times. Still it's pretty good to make 50 calls with just one click.