Tiktok workflow is broken #15

Closed
opened 2025-11-09 09:38:39 -06:00 by GiteaMirror · 10 comments
Owner

Originally created by @Port2all on GitHub (Oct 19, 2022).

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?

Originally created by @Port2all on GitHub (Oct 19, 2022). 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?
Author
Owner

@wukko commented on GitHub (Oct 20, 2022):

damn why can't bytedance just let me live

@wukko commented on GitHub (Oct 20, 2022): damn why can't bytedance just let me live
Author
Owner

@wukko commented on GitHub (Oct 20, 2022):

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

@wukko commented on GitHub (Oct 20, 2022): ill see what's up in a bit and reply with what i think is wrong
Author
Owner

@wukko commented on GitHub (Oct 20, 2022):

they simply killed the feed api endpoint, wow

@wukko commented on GitHub (Oct 20, 2022): they simply killed the feed api endpoint, wow
Author
Owner

@wukko commented on GitHub (Oct 20, 2022):

cant find another one that'd work :(

@wukko commented on GitHub (Oct 20, 2022): cant find another one that'd work :(
Author
Owner

@Port2all commented on GitHub (Oct 21, 2022):

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

@Port2all commented on GitHub (Oct 21, 2022): Maybe we can use some headless browser for getting the page and parse for video source?
Author
Owner

@Port2all commented on GitHub (Oct 21, 2022):

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 commented on GitHub (Oct 21, 2022): I've played a little with puppeteer <img width="713" alt="image" src="https://user-images.githubusercontent.com/7143962/197221778-e849f6a5-4f7b-4b59-a0a3-2f656c2bbf3d.png"> <img width="2561" alt="image" src="https://user-images.githubusercontent.com/7143962/197221827-585f19fd-40a1-4a18-ae21-c432ffb5d11f.png"> Looks like we still can get the link :) What do you think, it can work as workaround?
Author
Owner

@wukko commented on GitHub (Oct 21, 2022):

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 commented on GitHub (Oct 21, 2022): 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
Author
Owner

@Port2all commented on GitHub (Nov 2, 2022):

@wukko not working now :(

@Port2all commented on GitHub (Nov 2, 2022): @wukko not working now :(
Author
Owner

@wukko commented on GitHub (Nov 2, 2022):

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

image

@wukko commented on GitHub (Nov 2, 2022): it works just fine on [co.wukko.me](https://co.wukko.me/) and locally for me ![image](https://user-images.githubusercontent.com/71202418/199487373-551cb704-ea5e-4c00-ac06-bfca556efab5.png)
Author
Owner

@Port2all commented on GitHub (Nov 2, 2022):

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

@Port2all commented on GitHub (Nov 2, 2022): My bad. After reinstalling of modules it works. Shit, they really changing endpoints for video twice a month?)
Sign in to join this conversation.