Python scripts that automate digital marketing and lead generation tasks, including email scraping, email generation, customer list building, and forum data extraction.
git clone https://github.com/yesblogger/python_automation.gitpython_automation is a collection of Python scripts designed to automate repetitive digital marketing and lead generation workflows. The repository includes modules for scraping emails using both the Requests library and Selenium, generating outreach emails, building customer lists, and extracting data from forums. These tools are built for marketers and growth professionals who need to streamline prospecting and data collection tasks. All scripts are written in Python and licensed under MIT.
Scrape email addresses from websites using Requests or Selenium
Automatically generate outreach or marketing emails
Build and maintain customer or prospect lists
Extract user data and leads from online forums
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/yesblogger/python_automationCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Create a Python script to automate the following digital marketing task for [COMPANY]: [TASK]. The script should use [TOOLS] and process [DATA] from [SOURCE]. Include error handling and logging features. Provide the complete script with comments explaining each section.
```python
# Digital Marketing Automation Script for [COMPANY]
# Task: Automate social media post scheduling
# Tools: Python, Facebook Graph API, CSV
# Data: Social media posts from marketing_calendar.csv
# Source: Local file system
import csv
import requests
import logging
# Configure logging
logging.basicConfig(filename='marketing_automation.log', level=logging.INFO)
# Facebook API credentials
ACCESS_TOKEN = '[ACCESS_TOKEN]'
PAGE_ID = '[PAGE_ID]'
# Read posts from CSV
def read_posts(file_path):
with open(file_path, mode='r') as file:
reader = csv.DictReader(file)
return [row for row in reader]
# Post to Facebook
def post_to_facebook(message, scheduled_time):
url = f'https://graph.facebook.com/v12.0/{PAGE_ID}/feed'
params = {
'message': message,
'published': 'false',
'scheduled_published_time': scheduled_time,
'access_token': ACCESS_TOKEN
}
response = requests.post(url, params=params)
return response.json()
# Main automation function
def automate_posts(file_path):
posts = read_posts(file_path)
for post in posts:
try:
result = post_to_facebook(post['message'], post['scheduled_time'])
logging.info(f'Posted to Facebook: {result}')
except Exception as e:
logging.error(f'Error posting to Facebook: {str(e)}')
# Run automation
if __name__ == '__main__':
automate_posts('marketing_calendar.csv')
```Your one-stop shop for church and ministry supplies.
Automate your browser workflows effortlessly
Automate your spreadsheet tasks with AI power
Connected workspace for docs, wikis, and projects
Career support and employment training for young adults
Write emails faster
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan