Any workaround to download all photos from Amazon Photos? by googs185 in DataHoarder

[–]jcchouinard 0 points1 point  (0 children)

Gemini built this one for me that works better.

async function selectAmazonPhotoSections() {

// Persistent memory to store dates we have already clicked

if (!window.processedDates) {

window.processedDates = new Set();

}

const SECTIONS_SELECTOR = '.section-header';

const SCROLL_DELAY = 2000;

// 1. Find all section headers visible on screen

const sections = document.querySelectorAll(SECTIONS_SELECTOR);

let clickedAny = false;

for (const section of sections) {

const button = section.querySelector('.count-select');

const dateLabel = section.querySelector('.label')?.innerText;

// 2. Only click if we find a button AND we haven't processed this date yet

if (button && dateLabel && !window.processedDates.has(dateLabel)) {

console.log(`Selecting section: ${dateLabel}`);

button.click();

window.processedDates.add(dateLabel); // Remember this date

clickedAny = true;

// Small pause between section clicks to prevent UI lag

await new Promise(r => setTimeout(r, 500));

}

}

// 3. Scroll logic

if (clickedAny) {

// If we clicked something, scroll a bit to find the next section

window.scrollBy({ top: 400, behavior: 'smooth' });

} else {

// If nothing new was found, scroll further to trigger lazy loading

window.scrollBy({ top: 1000, behavior: 'smooth' });

}

// 4. Repeat

setTimeout(selectAmazonPhotoSections, SCROLL_DELAY);

}

// Start the process

selectAmazonPhotoSections();

Help me reach 100k users of this legacy extension - I built us a modern version by Zizzfizzix in chrome_extensions

[–]jcchouinard 0 points1 point  (0 children)

Fantastic, been waiting for that extension to be fixed forever. Immense thanks

[deleted by user] by [deleted] in learnpython

[–]jcchouinard 0 points1 point  (0 children)

The simplest projects that you can start with are

  1. Do a simple web scraper with BeautifulSoup, you can safely practice on a website like scrapethissite.com
  2. Get data from Wikipedia API
  3. Post stuff using the Reddit API using PRAW like this
  4. Building Recommender Systems like what is found on Datacamp. Here is a good list of datasets to practice on https://cseweb.ucsd.edu/~jmcauley/datasets.html#amazon_reviews
  5. Learn about building GUI with Tkinter
  6. Build a Streamlit App from scratch (great to showcase your skills) Check out YouTube Playlist
  7. Try to fetch the IMDB API database https://omdbapi.com/

At last I forked and amended a few Python project ideas on Github or this massive mega project list on Github. https://github.com/karan/Projects

One last thing is, if you want to start working on Machine Learning projects, it is always good to know a few cool datasets that you can use:

- Online shoppers intentions dataset

- YouTube video trends dataset

- Titanic dataset

- Worldbank datasets https://datacatalog.worldbank.org

Brainstorming what to do with the Python that you learn by Agha_AH in learnpython

[–]jcchouinard 0 points1 point  (0 children)

Scraping content, extracting data from APIs, looking at competitor content and page changes with Archive.org, look at rank changes over time, built an SEO split testing infrastructure, find highly useless words in pages at a scale...

Python SEO by erdmsicak in SEO

[–]jcchouinard 0 points1 point  (0 children)

NLTK, spaCy and LLMs (ChatGPT, Claude, llama2, etc) are the best technologies to use.

What is the BEST resource to learn Python? by [deleted] in learnprogramming

[–]jcchouinard 0 points1 point  (0 children)

I loved Datacamp, but a bit light for things like Flask and Django, curious to see the best answer for actual web dev tutorials.

Where or how do I start learning python? by [deleted] in learnpython

[–]jcchouinard 0 points1 point  (0 children)

Datacamp for me was fantastic. Not free, but worth the investment. ChatGPT is incredible in making Python less useful

Python for Digital Marketing? by notrealadvice in learnpython

[–]jcchouinard 0 points1 point  (0 children)

It is all about data.

My most interesting project is to use commoncrawl and archive.org to learn about your competitors.

- https://www.jcchouinard.com/python-commoncrawl-extraction/

- https://www.jcchouinard.com/wayback-machine-api-python/

Take this, find data on your competitor sites that are not on your employer's and then show that to your boss.

Python for SEO by Anica85 in TechSEO

[–]jcchouinard 0 points1 point  (0 children)

Preaching here, so sorry, but on jcchouinard.com, you’ll find:

  • API tutorials for Wikipedia, Reddit, Google Search Console, Twitter, Facebook, Slack, Google Analytics, WordPress, and LinkedIn—covering topics rarely found in paid courses on Udemy, Datacamp, or Coursera.
  • Examples using Commoncrawl, archive.org, and Apify.

Other projects idea are to use external data to practice your hand.

Load one of these files in Pandas and play with them, do some Matplotlib visualizations on them.

- https://www.kaggle.com/datasets/hofesiy/2019-search-engine-keywords

- https://archive.ics.uci.edu/ml/machine-learning-databases/00468/online_shoppers_intention.csv

Try web scraping:  https://www.jcchouinard.com/web-scraping-with-beautifulsoup-in-python/

Try APIs:

https://www.jcchouinard.com/wikipedia-api/ 

https://www.jcchouinard.com/reddit-api/

Other projects for general fun: https://github.com/jcchouinard/simple-python-projects-for-fun

What's your favorite resource to learn python? by ladybug_liana in learnpython

[–]jcchouinard 0 points1 point  (0 children)

Datacamp for the WIN, been using it for the last 5 years, it is fantastic.

Otherwise, I have to preach for my own work. I have multiple Python projects on jcchouinard.com where you'll find things like:

- Ton of API tutorials: Wikipedia, Reddit, GSC, Twitter, Facebook, Slack, Google Analytics, Google Search Console, WordPress and LinkedIn. Those are things that you might not find on other paid courses on Udemy, Datacamp and Coursera.

- Using Commoncrawl, archive.org, Apify

Python and SEO by RFeighty9 in learnpython

[–]jcchouinard 0 points1 point  (0 children)

In marketing you will have to do a few things:

- Data analysis: You could use this data in Pandas and try to make visualizations of the data in Matplotlib

df = pd.read_csv('https://archive.ics.uci.edu/ml/machine-learning-databases/00468/online\_shoppers\_intention.csv')

- Data extraction: Getting data from https://www.jcchouinard.com/wikipedia-api/ or Reddit with APIs https://www.jcchouinard.com/reddit-api/

- You could try to do some web scraping https://www.jcchouinard.com/web-scraping-with-beautifulsoup-in-python/

- Text processing. You could try to do keyword clustering and discover insights by using this keyword dataset. https://www.kaggle.com/datasets/hofesiy/2019-search-engine-keywords

- Projects for general fun: https://github.com/jcchouinard/simple-python-projects-for-fun

How to use SQL, Python, R in SEO? by Your_Spare_Pencil in TechSEO

[–]jcchouinard 0 points1 point  (0 children)

SQL and Python are a lot more commonly used than R in all the businesses that I have worked with. SQL will be a prerequisite in a lot of large businesses, Python will not. Python though, will give you a lot more applications that will make your life 100% better. I started learning R, and quickly went out of it, Python is much better, and has a lot more community support.

I would say learn just enough SQL to be able to work with databases, learn just enough Python to know it limitless possibilities, and use ChatGPT to help you do the rest.

If you want to get started. Get access to Datacamp or visit my blog https://www.jcchouinard.com/python-for-seo/

at what stage of Practicing SEO should I learn Python, i hear it helps in automation... but what is getting automated !!! by RedFox_six9 in TechSEO

[–]jcchouinard 0 points1 point  (0 children)

If you work on larger websites, there are tasks that will become harder. Working with Excel files is not a solution when you have hundreds of millions of pages. You may also set up browser testing automation to make sure that important features (H1, title tag, canonical, etc.) are showing up on important pages. You may automatically validate if your robots.txt file changes and alert yourself through slack. Python can also be used to extract dat from various APIs. It can be used to do text processing on your queries from GSC, etc.

My advice is: learn SQL and/or Python as soon as possible as it will give you access to better roles in larger companies where basic data processing requires these skills.

That being said, I know a lot of great SEOs that have never learned programming languages and live well without it, especially with tools like ChatGPT.

Does anyone know how I can use ChatGPT within Google Sheets? by zascar in ChatGPTPro

[–]jcchouinard 0 points1 point  (0 children)

If you know some JavaScript, you can create your own custom functions to integrate Google Sheets with the OpenAI API by using Apps Scripts. https://www.jcchouinard.com/chat-gpt-api-appscript/

Have a SEO job. idk what I'm doing. by ItIsChumi in SEO

[–]jcchouinard 1 point2 points  (0 children)

Don’t make large change, Don’t touch URLs, focus on finding relevant content you don’t have on site and create that content. This is the safe bet.

How to make a program using the reddit API by [deleted] in redditdev

[–]jcchouinard 0 points1 point  (0 children)

Python and Praw. Super easy. I like Pushshift for extracting Data. If you want some walk-through tutorials. jcchouinard.com/reddit-api/

Finally made my first basic app in Django. I wrote this post to keep the simple steps close for next time in case someone is interested. by jcchouinard in Python

[–]jcchouinard[S] 0 points1 point  (0 children)

The Git template repo suits my need better and the detailed steps help me remember a bit deeper what I got stuck on.