Android source code for downloading TikTok videos

Is there any android source code available which supports downloading TikTok videos and saving it to Gallery?

Is there any help?