cobalt icon indicating copy to clipboard operation
cobalt copied to clipboard

Tiktok workflow is broken

Open Port2all opened this issue 3 years ago • 4 comments

Tested it locally on latest version, and also manually tested script part for tiktok. Looks like it gives an error on step when you're trying to get html body of post page, before searching of file src.

Also I've found something strange in response

rejectUnauthorized: true,
session: undefined,

Maybe now we need to login before trying to find source link. Any ideas?

Port2all avatar Oct 19 '22 22:10 Port2all

damn why can't bytedance just let me live

wukko avatar Oct 20 '22 01:10 wukko

ill see what's up in a bit and reply with what i think is wrong

wukko avatar Oct 20 '22 01:10 wukko

they simply killed the feed api endpoint, wow

wukko avatar Oct 20 '22 02:10 wukko

cant find another one that'd work :(

wukko avatar Oct 20 '22 02:10 wukko

Maybe we can use some headless browser for getting the page and parse for video source?

Port2all avatar Oct 21 '22 14:10 Port2all

I've played a little with puppeteer image image Looks like we still can get the link :)

What do you think, it can work as workaround?

Port2all avatar Oct 21 '22 14:10 Port2all

this is a watermarked video, and cobalt already gets it when the preference for non watermarked videos is not set

currently nothing works at all because there's an additional check before that which includes seeing whether there are photo slides in the post or not

wukko avatar Oct 21 '22 17:10 wukko

@wukko not working now :(

Port2all avatar Nov 02 '22 12:11 Port2all

it works just fine on co.wukko.me and locally for me

image

wukko avatar Nov 02 '22 12:11 wukko

My bad. After reinstalling of modules it works. Shit, they really changing endpoints for video twice a month?)

Port2all avatar Nov 02 '22 14:11 Port2all