TikTokAPI-Python
                                
                                 TikTokAPI-Python copied to clipboard
                                
                                    TikTokAPI-Python copied to clipboard
                            
                            
                            
                        downloadVideoByIdNoWatermark downloads empty file
The "vid:" part is gone from the watermarked videofile. Is there another way to get hiddent video_id?
Ill see if I can find any other way to get that hidden video_id
Hi, any update to this?
Not currently used
@avilash In the TikTokApi, the noWatermark part code, I am not able to find the vid: part for other videos. It shows pos = -1. So, will you please help me with this please?
i found a solution for download video without watermark :--> ex url = https://www.tiktok.com/@blood.chan/video/7109888542192536875
url = self.request.headers['Url'] if "@" in url and "/video/" in url: id = url.split("/video/")[1].split("?")[0] api = 'https://toolav.herokuapp.com/id/?video_id='+id r = requests.get(api, headers = {'user-agent': 'okhttp'})
response = r.json()
aweme_id = response.get('item', '').get('aweme_id', '') video_url_no_wm = f"https://api.tiktokv.com/aweme/v1/play/?video_id{aweme_id}&vr_type=0&is_play_url=1&source=PackSourceEnum_PUBLISH&media_type=4" video_data_no_wm = get_req_content(video_url_no_wm, params=None, headers=self.headers) with open(f'media/without{id}.mp4', 'wb') as f: f.write(video_data_no_wm)