Created
August 31, 2024 15:34
-
-
Save normand1/fc2d1e60145e9a95651a969e74c42cf2 to your computer and use it in GitHub Desktop.
Podcast Index Top 500 Normie Feeds
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
WITH ranked_podcasts AS ( | |
SELECT | |
title, | |
url, | |
imageUrl, | |
datetime(lastUpdate, 'unixepoch') as lastUpdateDate, | |
popularityScore, | |
ROW_NUMBER() OVER (ORDER BY lastUpdate DESC) as position | |
FROM podcasts | |
WHERE 'spirituality' NOT IN (category1, category2, category3, category4, category5, category6, category7, category8, category9, category10) | |
AND 'religion' NOT IN (category1, category2, category3, category4, category5, category6, category7, category8, category9, category10) | |
AND 'weather' NOT IN (category1, category2, category3, category4, category5, category6, category7, category8, category9, category10) | |
AND 'non-profit' NOT IN (category1, category2, category3, category4, category5, category6, category7, category8, category9, category10) | |
AND 'nonprofits' NOT IN (category1, category2, category3, category4, category5, category6, category7, category8, category9, category10) | |
AND 'cricket' NOT IN (category1, category2, category3, category4, category5, category6, category7, category8, category9, category10) | |
AND 'rugby' NOT IN (category1, category2, category3, category4, category5, category6, category7, category8, category9, category10) | |
AND 'music' NOT IN (category1, category2, category3, category4, category5, category6, category7, category8, category9, category10) | |
AND 'cryptocurrency' NOT IN (category1, category2, category3, category4, category5, category6, category7, category8, category9, category10) | |
AND 'spirituality' NOT IN (category1, category2, category3, category4, category5, category6, category7, category8, category9, category10) | |
AND language = 'en' | |
AND dead = 0 | |
AND popularityScore = 9 | |
AND priority = 5 | |
AND lower(title) NOT LIKE '%bitcoin%' | |
AND lower(title) NOT LIKE '%music%' | |
) | |
SELECT | |
position, | |
title, | |
url, | |
imageUrl, | |
lastUpdateDate, | |
popularityScore | |
FROM ranked_podcasts | |
LIMIT 500; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment