This file contains 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
var urls = {}; | |
// Use browser debug tools to determine the column ID of the column which contains the tweets you want to archive | |
var columnID = 'e.g. c1668738656730s59'; | |
var col = document.querySelector('.chirp-container[data-column=' + columnID + ']') | |
// Each time you run this line, new content will be loaded into the column by scrolling, and the new tweet information added | |
// to urls. Repeat the “up, enter, wait for new content” cycle until either you are satisfied or tweetdeck refuses to load | |
// more content. If you get HTTP 429 errors, wait a little and continue! Only once you get a 410 or just nothing at all when | |
// running the line have you reached the end. | |
col.parentElement.scrollBy(0, col.scrollHeight); document.querySelectorAll('[data-column=' + columnID + '] .tweet-timestamp a').forEach(function (el) {urls[el.href] = true;}) |
OlderNewer