Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/ttarcPublic

Minimalistic TikTok trending archiver.

License

NotificationsYou must be signed in to change notification settings

miku/ttarc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: As of 2020-04-23 5PM CET, the trendingendpoint returns an empty list only. Hence, as is, this program does not fetch any data.


Go Report Card

Inspiration:tiktok-feed byCorentinB.

Minimalistic TikTok archival tool usinghttps://m.tiktok.com/node/share/trending.

Collects the trending JSON document and linked (mp4) video clips and puts themintoWARC viawget (1.14or higher).

Install

$ go get github.com/miku/cmd/ttarc/...

or use someLinux packages (there'sanarmhfversion for an SBC)

Run

$ ttarc$ ls -lah...ttarc-trending-20200312214721.cdxttarc-trending-20200312214721.warc...

This can be put into cron, e.g. to be run every 15 minutes.

*/15****/usr/local/bin/ttarc -P /tmp/ttarc -log /tmp/ttarc/ttarc.log

Usage

Usage of ttarc:  -P string        output directory (default ".")  -b    ignore wget errors, just log them  -f string        basename for warc file (default "ttarc-trending-20200312224313")  -log string        log to stdout, if empty  -ua string        user agent (default "Mozilla/5.0 (Windows NT 10.0; ... )  -verbose        be verbose  -version        show version and exit

TODO

Stills

Extracted viawarcio,ffmpeg andimagemagick.

About

Minimalistic TikTok trending archiver.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp