Skip to content

trevorsmiley/twitter-hashflags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitter-hashflags

Twitter Hashflag Downloader is a command line tool that can list, sync and download all active hashflags from Twitter.

Shoutout to @JamieMagee and his HashflagArchive Twitter Bot for providing the inspiration to create this tool.

Usage

Info

Get hashflag information list

Return a list of active hashflags

./twitter-hashflags info

Write hashflag information list with full details to file

Write a list of active hashflags with full details to hashflag-list.txt

./twitter-hashflags info -out

Get missing hashflags

Sync hashflags with the /downloaded_hashflags folder and list all that are missing

./twitter-hashflags info -diff

Get deactivated hashflags

Sync hashflags with the downloaded_hashflags folder and list all that are now deactivated

./twitter-hashflags info -deactivated

Download

Sync hashflags

Sync hashflags with the /downloaded_hashflags folder and download any that are missing

./twitter-hashflags sync

Sync hashflags and move deactivated

Sync hashflags with the /downloaded_hashflags folder, download any that are missing and move all deactivated hashflags to /deactivated

./twitter-hashflags sync -m

Force download

Clear the /downloaded_hashflags folder and download all hashflags

./twitter-hashflags sync -force