Skip to content

Instantly share code, notes, and snippets.

View ataki's full-sized avatar
👨‍💻

Jim Zheng ataki

👨‍💻
View GitHub Profile
@ataki
ataki / tiktok-search-scraper.js
Created September 21, 2022 16:28
Scrapes TikTok results for a certain hashtag. Paste into chrome console
let seen = new Set()
async function getBioLink(row) {
try {
const { signature, uniqueId } = row
const secUid = row.secUid
const url = `https://us.tiktok.com/api/user/detail/?aid=1988&app_language=en&app_name=tiktok_web&battery_info=1&browser_language=en-US&browser_name=Mozilla&browser_online=true&browser_platform=MacIntel&browser_version=5.0%20%28Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_7%29%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%29%20Chrome%2F105.0.0.0%20Safari%2F537.36&channel=tiktok_web&cookie_enabled=true&device_id=7137341942917350955&device_platform=web_pc&focus_state=true&from_page=user&history_len=2&is_fullscreen=false&is_page_visible=true&language=en&os=mac&priority_region=US&referer=&region=US&screen_height=1440&screen_width=2560&secUid=${secUid}&tz_name=America%2FNew_York&uniqueId=${uniqueId}&webcast_language=en&msToken=J9m3_eBf4GKuBDGa063BDCsjVBzMBmcFqJvEGf0M62WHW9yPzXAHzcFhc8-X5-DLAkVoNH7CKKi-Jkp1Kb7ua75MV6btEfjcZPAbhZJKirSwPlP_CTcRrSMHocUTnU4=&X-Bogus=DFSz

Keybase proof

I hereby claim:

  • I am ataki on github.
  • I am jim_tally (https://keybase.io/jim_tally) on keybase.
  • I have a public key ASBydOnMjDMGaOhCNQayrp_YCrkcxN8Js7GRju0EcxLNzgo

To claim this, I am signing this object:

""
"" Janus setup
""
" Define paths
let g:janus_path = escape(fnamemodify(resolve(expand("<sfile>:p")), ":h"), ' ')
let g:janus_vim_path = escape(fnamemodify(resolve(expand("<sfile>:p" . "vim")), ":h"), ' ')
let g:janus_custom_path = expand("~/.janus")
" Source janus's core
@ataki
ataki / gist:8344263
Last active March 4, 2017 15:57
107 Unix Lab
Basic Command Format
--------------------------
$ ~> <cmd>
$ ~> <cmd> <arg>
$ ~> <cmd> -<flag>
Moving around
---------------------------
@ataki
ataki / about.md
Created February 15, 2013 19:18 — forked from jasonrudolph/about.md