helmetroo / fetch-twitter-bookmarks Goto Github PK
View Code? Open in Web Editor NEWCLI application to fetch your Twitter bookmarks using Playwright
CLI application to fetch your Twitter bookmarks using Playwright
Check should actually fetch the tweet first if id given
Or is there a way to determine how much to scroll by when Twitter automatically removes out of sight tweets from the DOM?
Another approach might be to scroll down a ways past the last element caught when selecting article elements.
Should be a mock version of cli-progress
We can probably use immutable-js and store tweets in an OrderedSet
Code quality only.
https://github.com/typescript-eslint/typescript-eslint
Create a ScrollState
interface to represent scroll progress to help break down extractTweets
method.
CommandLineInterface.run()
should be broken up.
Need to also firmly decide which behavior most makes sense as the default.
Argument should decide if we
Should be a CLI option
Decide if we go with monorepo or separate repos for modules.
Or by default, use STDOUT if filename not provided.
i.e. name=tiny
. Full size image is what we want.
Quits in Powershell but gives an error
Should probably have a separate class that maintains the browser and bookmarks page for the extractor to extract tweets from. Also want to make Puppeteer classes like Browser and Page mockable for testing
Ideas:
Tests:
maxLimit
not setmaxLimit
tweets are fetched if maxLimit
setInstead of a file, tweets could be saved to a working database, instead of saving the current ones in the in-memory OrderedSet.
XML/CSV/others...?
Formatting only. See https://prettier.io/docs/en/comparison.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.