Skip to content

Instantly share code, notes, and snippets.

View thiagomgd's full-sized avatar

Thiago Margarida thiagomgd

  • Vancouver, BC - Canada
View GitHub Profile
@thiagomgd
thiagomgd / about_kobo_wishlist_checker.md
Last active August 25, 2025 17:04
Kobo wishlist checker

Requirements: selenium, tqdm

Just add your books to the list, adjust parameters and run.

See bookmarklet for easily copying each wishlist page.

Parameters:

  • MAX_POINTS = points you have on Kobo
  • SALE_PRICE = max sale price in $
  • PERCENT_DISCOUNT = minimum discount in %
@thiagomgd
thiagomgd / better_tmdb.js
Last active June 13, 2024 19:35
Better TMDB
// ==UserScript==
// @name Better TMDB
// @namespace http://tampermonkey.net/
// @match https://www.themoviedb.org/*
// @grant GM_xmlhttpRequest
// @grant GM_getResourceText
// @grant GM_getValue
// @grant GM_setValue
// @version 1.12.0
// @author Geekosaur
@thiagomgd
thiagomgd / README.md
Created December 19, 2021 16:57
Bookmarklet: Filter Kindle Unlimited books on Amazon Wishlist

Only works on wishlists that only contains Kindle ebooks.

Simple filter by removing '1 click buy', as kindle unlimited available show 'Other buy optionss' button.

Just click the bookmarklet and wait for the "finished" alert

@thiagomgd
thiagomgd / gist_reddit_downloader_search.py
Last active August 25, 2025 16:48
Reddit Downloader with search
# Before running:
# Install 'praw' dependency (pip3 install praw)
# Register for reddit and imgur API application. (IMGUR only necessary for downloading an album)
# Replace those IDs and secrets on config
# On the config:
# desired_files: filetypes you want to download
# wanted_links: domains which links that are going to be saved to an output file
# To run on command line, it takes 2 arguments: search term and (optional) limit. If not specified, limit is 24.
@thiagomgd
thiagomgd / gist_reddit_downloader.py
Last active August 25, 2025 16:46
reddit comments media downloader
# Before running:
# - Install 'praw' dependency (`pip3 install praw`)
# - Register for [reddit](https://ssl.reddit.com/prefs/apps/) and [imgur](https://api.imgur.com/oauth2/addclient) API application. (IMGUR only necessary for downloading an album)
# - Replace those IDs and secrets on `config`
# On the `config`:
# - `desired_files`: filetypes you want to download
# - `wanted_links`: domains which links that are going to be saved to an output file