Рет қаралды 136
In this quick guide I'll show you how to get started with Python and ChatGPT.
If you have never used Python before and don't know where to begin, this guide is for you.
I'll show you how to create a quick script that scrapes a web page and outputs the headings. Super useful for SEO!
Here is the full prompt that I used:
"Hello ChatGPT. Please create a Python script for Google Collab that does the following:
1. User provides a URL
2. Crawl the page (you may need to use a user agent to bypass crawling restrictions)
3. Output all HTML headings separated by line breaks
Please provide the full code."
Head over to my website for more cool ideas: jonathanboshoff.com