This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Letterboxd to RYM Search | |
// @version 0.5 | |
// @description A handy ChatGPT userscript that adds a button below the film poster on Letterboxd, allowing you to search for the same film on RateYourMusic | |
// @author ChatGPT | |
// @namespace https://gist.github.com/Fooftilly | |
// @downloadURL https://gist.github.com/Fooftilly/509ddfbbc0395c0ff209f3fdea112187/raw/Letterboxd_to_RYM_Film_Search.user.js | |
// @updateURL https://gist.github.com/Fooftilly/509ddfbbc0395c0ff209f3fdea112187/raw/Letterboxd_to_RYM_Film_Search.user.js | |
// @match https://letterboxd.com/film/* | |
// @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sqlite3 | |
import os | |
import argparse | |
from datetime import datetime, timedelta | |
from functools import lru_cache | |
import plotly.graph_objects as go | |
from jinja2 import Template | |
from collections import defaultdict |
OlderNewer