Automate downloading TikTok videos with no watermark | Python Automation tutorial
HTML-код
- Опубликовано: 1 окт 2024
- Learn how to automate boring mundane tasks in your life with Python, Selenium and BeautifulSoup.
In this video I explain how you can come up with projects that can be great for your resume. In most cases, finding a problem in your life that you want to solve will suffice. I walk you through a pain point in my life, specifically downloading tiktok videos without watermark and uploading it to youtube.
Link to code (You need to change some fields in the code to get it to work)
github.com/cod...
🔥 Drop a comment to help the algorithm :)
👍 Subscribe to get notifications for the next video
👉 Bootcamp Full Series Playlist: • Python - Intro to Prog...
-----------------
😎 Resources
-----------------
👯 TikTok
📸 Instagram
💬. Join the Discord
📜. FREE Resume Template
📕. FREE Note taking template
beacons.ai/cod...
-----------------
👾 Important Videos
-----------------
My Computer Science experience: • What it was really lik...
The side project that got me interviews: • The side project that ...
My Resume walkthrough: • The resume that got me...
Ace your technical interviews: • How to ace your techni...
-----------------
🧑🏻💻 About Me
-----------------
I am a full time iOS engineer, with over 7 years of programming experience.
My goal is teach you the bare minimum necessary to break into tech ASAP.
Learn more about my programming journey
7 years of coding in 12 minutes: • 7 years of coding in 1...
I offer 1 on 1 mentorship as well, feel free to DM me on discord
#python #automation #learntocode #codewithvincent
Tags: python automation, automate the boring stuff with python, learn python, automate your life, learn python fast, python fundamentals, learn to code, coding projects, coding project ideas, python tutorial, desktop automation, coding tutorial, python 101, how to automate tasks for beginners
The code can be found in the description of the video :)
Sure i have idea but i don't know coding do you have time to talk?
@@BhargeyKaneriyaBECmaybe i can help you
I dont know why but it doesnt works for me, I mean I did the changes and all, where I Can find your discord?
hi can i download it without watermark in tiktok creative ad center just by inspect element in chrome ?
and what is the fonction that make the watermark on the video ?
Wow, just wanted to take a moment to express my sincerest gratitude for this amazing video! It has truly touched my heart and made my day. Your creativity, passion, and hard work shines through in every frame. Thank you for sharing your talent with the world and spreading positivity and joy. You truly are a blessing and I'm so grateful to have stumbled upon this gem. Keep shining and spreading love, we need more content like this in our lives 💕🙌
Cheers mate!
Please keep making tutorial videos like this one. Very detailed and didn't skip any steps. You even showed your mistakes which is great! +1 liked
Thanks man I appreciate it :)
but not working in banned countries so we need to install vpn software and connect to other contries vpn and run the code 100% work
Ahh sorry I should have noted that I am in NA
which VPN is working for that?
I am wondering is it still work? because as I inspect user profile page and can't find the tag or element like the video. (sorry for my bad English)
I mean I can't find href with full like as in video 😢.
@@moreknowledge11 it should be working, I used it a few days ago. The element could have changed, all you need to do is look for it in the inspect tool
Hey, first of all thank you very much, its really well explained and it works pretty good! I've just one little problem.. Maybe you could help me, the script works fine but it always crash after some downloads (i would like to bulk download) i've tried to change my VPN while the script is running but still the same. I think the problem is with the cookies/header no ? Maybe including a rotation on cookies or/and headers could solve it ?
One thing I did was I saved all of the links in a file and fed it to the download script. If the download fails, I would remove all of the links that I have downloaded already and continue from there 👍
@@CodewithVincent
The video is amazing! , by the way i swaped the part of scrolling down with my own that is just spamming arrow down 😂
That's awesome! Glad it worked :) and nice arrow spam!
type error: "Nonetype" object is not subscriptable
Can you share your code and what line the error is occuring
@@CodewithVincent Traceback(most recent call last):
file users ... line 67 in
File ... Line 31 in downloadvideo
downloadLink = downloadSoup.a["href]
Type error: nonetype object is not subscriptable
@@Threecommaaclub my guess is that your downloadSoup does not have any link tags inside of it. My recommendation would be to double check that you are parsing the HTML correctly. If you need more help, you can join the discord!
@@CodewithVincent sounds like a plan 😁😁 please provide link to the discord
Автор видео просто красавчик, молодец, и очень хороший человек в целом. ОЧЕНЬ помог.
Hey dude, first of all thank you for the amazing work, I modified it for my own page and it works fine as hell, but i encountered a problem, once in a while it gives me an error while downloading the video "OSError: [Errno 22] Invalid argument: 'videos/23-Proof The Real World is a Sc*m..mp4'" like this for example, could it be the "*" freaking it all up ? if so there is a way to skip certain videos from downloading ? thank you and sorry for my bad english, im 18 and italian im trying my best :)
nope it aint the "*", i tried with ann if to isolate the video but it gives me the same error again
Maybe change the file names, try just doing file1, file2 to see if it works
wait... how does the website download without watermark though
how should i go about it if i want to implement a by-certain-amount-of-like approach so it only downloads videos that have potential or are viral. Im planning on automatically uploading it on reels (i get it if you're not comfortable answering this as it is probably breaking some rules)
You can probably use tiktoks filter and filter based on likes, then you can grab the links for those videos.
truly a great video and i love papaya i didnt know you guy were behind him
Glad you enjoyed it! :)
Brother some errors arose: "urllib.error.HTTPError: HTTP Error 403: Forbidden" " "ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '/es'" What can I do? Only I was able to download 33 videos
I assume since you were able to download some videos, one of the video links must be corrupt and you'll need to add logic to filter that
WILL TAKE ME 4 YEARS TO DO THIS LOL
Follow the tutorial😁 save you 4 years
I have no experience in coding but I still watched your entire video. I’m mindblown at the things you can achieve with some code
Haha and fun fact RUclips is made by code too 🙂 feel free to check out my free coding series to dabble your feet in some fun
i don't know why it's not listing the links :(
here is the output
STEP 1: Open Chrome browser
STEP 2: Scrolling page
Process finished with exit code 0
Looks like something didn't work in step 2. Did it even open the browser?
I keep getting the error "NameError: name 'link' is not defined". If i define the "link" I wont let me download all videos. Do I need to run another library? lmk thanks
My assumption is that something is wrong with the header since you can't get the link field. Please try to update your values again. You can also join the discord and share your code to make it easier for me to help
hey bro i am unable to find my cookies
disable cookie blockers (pihole, or something similar).
hey, thanks for this video!
but i have a problem :
it's always the same and first video which is downloaded,
can you help me 😅?
You probably hard coded the link of the video. Please cross reference with the github code
Hello sorry to bother you but random question im downloading bulk memes off this one page but a few have a ? in the title of the video and subsequently its the name of the file, but windows cannot handle a ? in a file name, would there be anyway to make a if videotitle contains ? replace - or _ for instance?
Yes python has a function called replace, which you can use to replace the ? With another character
i need help please, in line 60, when a change "f" to "r" save in the directory what i want, but all the videos are the same name {id} [video] so download the new and delete the last one
You probably messed up step 1 somewhere. Make sure you aren't hard coding the URL links.
words cannot describe how deeply in love with you i am (no homo)
thank you
Thank you mate!
Excellent video!!!, learned a lotttt, how do I publish my projects on my portfolio, github?
Yeah, you can use github. I have a video that explains how to upload projects :)
Please, How did you do to skip the tiktok bot verification ? (it's like a captcha)
Hmm, there was no captcha for me, can you share how you got to the captcha step?
I have the Captcha as well. haven't figured out how to bypass it yet...
Okay so what i did is, to increase the wait time after opening the page and complete the captcha myself. that works fine.
won't be completely automated then but its only one click more. That shouldn't be a problem
@@CodewithVincent It's juste when the tiktok page open, there I a captcha
@@electryryn9359 oh interesting, glad you were able to find a workaround!
hey bro this was working up until 2 days ago, i don't see any structure changes that i can tell, do you know why my scripts are no longer able to find any videos?
div wrapper etc hasn't changed
I can't help you if you're not telling me what the error or output is lol
@@CodewithVincent Oh all good bro i didn't realize my chrome updated version, but yea fair enough aswell lol, cheers man tops video!
when in html why does it say for me css instead of tiktok-
Ok, now I understand why are people using beautifull soup with Selenium.
I've learn how to use XPATH and was wondering why people were using Beautiful soup.
They skip xpath shit haha... it's hard, but it worth ;-)
Haha so many related story with me.
Love this video btw,
at 10:30, in Selenium I've used key page down key a couple of times ( or as needed ) to scroll down lel.. with ActionsChain.
Haha looks like we had similar struggles 😋
The discord link in the description doesnt work...
Brother please help create for Automate downloading douyin videos with no watermark
Sorry I do not use douyin
I have a problem that when using scroll, it will get captcha. do you have a solution?
Some people in the comments have a workaround with the captcha,, maybe you can try that out. Or you can change the wait time to 60 seconds and you can manually do the captcha yourself.
hello please create with php version
I don't use php
Wow! Thank you. Even did not try how it is working, but it is already cool!
please make script uncollect in tiktok (( in Favorit )) can uncollect Automatic
Sorry I don't know how to do that
Thank you so much man i really love coding👀
Can you update this with a website which doesn't have the 10 second cooldown?
If you find a website let me know, I can update the code 👍
Hey I think my comment got deleted? This downloader downloads the video in 540p. Would you like me to share the one that downloads it in 720p/1080p (whatever the video was uploaded in)? At least tell me why you'll delete this comment before you do though please.
Thank you. Awesome video.
Hi I've never deleted your comment. Feel free to share
@@CodewithVincent Hello. It's called. Downloads all videos in 720p/1080p without fail. Would you be able to update the script with this website?
@@johndenver6769 feel free to fork the repository and make a pull request
I have followed your code, but I can’t play videos.
The code is outdated, someone made an updated version on my discord
You are a rockstar bro. Well done
Cheers mate
With my another account, i gave 100th like. Yay.
With this account, i gave 101th like. 😎👍
You are awesome ❤️
We are awesome together, brother! How to approach you on telegram or whatsapp or Instagram any ?
@@inspiredforever discord, I have a beacons link in description of the video
Where is the code for this bot?
It's in the tutorial :) maybe I'll upload it somewhere when I get the chance
An error shows up when I run it saying "Can't create base directory: C:\Program Files\Google\GoogleUpdater" Fixed it had to just download chrome driver. It shows an error but the downloading works
the code is not working anymore!
@@redmango1025 it works for me
@@missipidog4962 how did you get the cookies or header info from network tab of chrome browser? I am using python and mac environment.
للاسف لاتعمل مع قائمة تشغيل
It opens me a chrome window in which i am not logged into tiktok so i have to insert email and password but tiktok says "Too many attempts. Try again later." Is it possible to solve in some way? I've tried waiting for almost 4 hours but still get the same error. On a normal chrome tab i can login without problems from this same pc.
Hmm I'm not sure to be honest, maybe this link can help stackoverflow.com/questions/35641019/how-do-you-use-credentials-saved-by-the-browser-in-auto-login-script
@@CodewithVincent Ok solved! Had to use the solution taken from your link but also have to retreive data as cookies and header from the new chrome istance opened by python because those values are different from the default chrome istance. Thanks!
@@quiz4all418 sweet! Glad it worked!
Its Now Working
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: html.parse. Do you need to install a parser library?
No I don't think I have installed a parser, just BS4
Closes immediately once i run script, whats the issue here?
Do you have more information? Mind sharing your code?
Having a bit of an issue with the coding, my program seems to download only the same video again and again. I did a check to see the links and it seems to be getting different but only sending one to download. Help needed!!!
Double check the data field when you make the request for the video download link. Also feel free to share your code
That did the trick. Thank again for the help. Just started programming and these kind of projects are keeping me motivated.
TikTok has some sort of CAPTCHA protection now, so I'm not sure if this still works. For me at least it didn't because of the bot detection. I tried headless in selenium and user agent arguments but also didn't work. I guess its not possible anymore. :/
Wonder if one can do same with other languages like c or 🙈🙈🙈asm
Definitely can
hi, tried to build it, but apparently now the link to the downloaded videos are not the real one but a generic tiktok webpage
Just made changes to the code, please try again. It works for me :)
You can still do it just remove the scroll as it's not needed, and then grab the link from the title not the video card. Process should be the same.
The code runs successfully but video videos are not downloaded?
Check discord someone remade the code to work
discord link
@@CodewithVincent
Can I Please pay you to hop on a zoom call with me and do this/help me with this? I can't seem to figure it out lol.
Sure, there's a link in the description for beacons. You can DM me there
@@CodewithVincent Are you going to DM me how to do it or are we going to hop on a zoom call where you we can screen share and you help me there?
@@KevinGordilloArchive if you cannot follow the instructions above, I will not be able to help you
@@CodewithVincent I can its just that what I'm asking is diff than whats being offered above bro, It says to pay to DM- which I do not mind at all- but I just want to know if once I complete all steps would we be able to get on a quick zoom call? Sorry to be a n00b in this.
@@KevinGordilloArchive usually the fix is very simple. If it isn't we can hop on zoom
Great stuff and I will work my way through this a few times to make sure I understand it. I'm an old noob to python, just managed to get a scraper working that dumps a bunch of data into a CSV file, including the link to the video. So Im looking to use some aspects of your code but loading the links I already have from the CSV.
haha, got it working! Great stuff. Just need to figure out how to deal with file names. Some video descriptions are too long and contain weird characters that crash the script when it's creating the file. Noice!
How to backup data device
I'm not sure sorry
@@CodewithVincent yes,I look forward to seeing your video on this, thanks
@@dbzthanh949 I don't know what that is
I think tiktok patched it because it always says "something went wrong" when the program tries to scroll the page
You can still do it just remove the scroll as it's not needed, and then grab the link from the title not the video card. Process should be the same.
That's correct, anyways a workaround 🙂
@@CodewithVincent Yeah I tried but they won't let me scroll down
You don't need to use the auto scroll feature then. You can do that manually and pull the HTML yourself
why dont you just use xpath for videos?
Whats that?
thx
you are best
Sir, How to download at least 2 videos at the same time
I'm not sure, I had to download them one at a time. If you find out, please let me know :)
Tiktok updated, i can't find video url anymore, please help
I solved it. and Thank you very much I learn a lot about python from this amazing video. I will share it to the people around me who love coding
What was the fix?
ValueError: unknown url type: '/' randomly stopped at 118th download
Maybe something is wrong with the url after the 118th video 🙁 you can also get the html source and check what the issue is with that one.
@@CodewithVincent why would there be an issue with the url
@@missipidog4962 I don't know you'll have to investigate the page source
can we modify this code to also rename each of the downloaded video with the caption of that video ?
or we could just download all the text from the video titles and store them into a csv folder.
Yes you can modify the code :)
The code that I shared includes the titles for the videos
@@CodewithVincent thanks is there a way to change the default location of the downloaded videos. I want to put them on my D drive instead of my C drive.
@@TraveltasticGuideToTravel yeah just provide the full path to the file "D://.../videos/..."
i want to make video downloader for tiktok like i should input url of the video and it should download that video can we do that with this code?? and how
You'll only want the code that downloads the video and then you can feed it whatever URL you want
@@CodewithVincent can i do this just by modifying your code?
@@ahmerali3304 yes
i found the solution how to escape captcha
from selenium.webdriver.chrome.options import Options
options = Options()
options.add_argument("--disable-extensions")
options.add_argument("--disable-blink-features=AutomationControlled")
driver = webdriver.Chrome('chromedriver',options=options)
Ohh that's nice! Good job 😊
@@CodewithVincent please make another tutorial about downlaod video from ig,youtube,fb... please
@@oudom9629 I could look into it, just need some time 😊
@@oudom9629 can you pls send me the code??? on my email or insta?
pls check your email
can you help me?
OSError: [Errno 22] Invalid argument: 'videos/7-Who drinks louder? Papaya or Kamisato Ayato? @GenshinImpact_En #GenshinImpactMeow #GenshinImpact35.mp4'
The problem is probably due to the symbols in the video title. One thing you can do is either filter out the symbols (#, @, etc) or just don't include the titles.
@@CodewithVincent The problem is symbols (?) in the video title . can you help me
@@khemsokhoeun8662 I just told you what you need to do. Follow the video, I show you how to not include the video titles lol
@@CodewithVincent Yes! But i need the video title.
@@khemsokhoeun8662 well I just told you what you need to do. If you browse the discord there's a solution for this somewhere :)
Does this work with Instagram reels?
only on tiktok
You make it hard. Why need selenium to crawl the webpage while you can just call the API? In dev tool, you can go to network section then you can scroll the webpage to make it load more data, you will see the triggered api pop up. Just change the pagination variable then you can get all urls of videos from that profile. Thank for your sharing. It is good to share what we know.
Want to share the code?
បងជួយប្រាប់របៀបធ្វើLicense key ពេលយើងសរសេរProgramហើយយើងដាក់ជួលអោយគេប្រើផងបង❤ ។ អគុណបង❤
Is there any way to automate grabbing the "cookies" "headers" "params" stuff? Mybe using web driver?
Possible, let me know if you find out :)
I get an error
import requests
ModuleNotFoundError: No module named 'requests'
open cmd and type pip install requests
It says missing modulesource requests, but thx
You need to run pip install requests
@@CodewithVincent thx
did u delete my comment?
No I did not? Maybe RUclips filters comments. You can try sharing your code on the discord instead
@@CodewithVincent im just taking the link out maybe that works
@@Xzeviouss it's falling on step 4. That means you didn't do the headers and cookies correctly. Please watch the video again
@@CodewithVincent ok
When selenium opens the browser and opens tiktok, tiktok prompts for a human verificaton and when it does, the browser just closes and no videos are downloaded. Any way to work around this?
Set a longer wait time, like 60 seconds so that you can complete the captcha
Thanks Brother, I need that, Love You Brother
My code "works", but all videos are corrupted (0 kb) except the first one
(Also, this guide is amazing, very easy to follow through with your pacing, stayed entertaining and very informative with how you go through each function)
I'd recommend double checking the links that you are downloading from, make sure they are valid. Sometimes tiktok might change the links which will result in corrupted files. An alternative would be to manually grab the links yourself 😔 and feed it to the bot to download
@@CodewithVincent Thank you for the response!
Am trying to rewrite everything cleanly like your github.
There is a function there about cookies right in the beginning that you say is in the video, but I for the life of me dont see anything about it.
Is it related to the cUrl we get? I have nothing defining Cookies 😔
@@akastrow7585 it should be from the curl command
Hi, is there any way to get all the descriptions from the videos?
Yeah so in the code where we grab the href value for each video. You can also grab the the video description as well. I don't have my computer with me, but hopefully this gives you an idea of how you can do it. (Feel free to checkout the documentation for beautifilsoup if you get stuck)!
@@CodewithVincent Do I just need to change class?
@@ImMykol you'll have to look at the HTML and see where the description exists and use beautiful soup to grab it!
Nice tutorial
Thank you! Cheers!
Can i ask why, do we need to change cookies and headers?
forget to mention that your video is very detail and so much easy to understand
Because everyone has a different computer
Can you make an automatic snapchat spotlights poster? I have hundreds of videos I wanna post but it takes a while tbh
Sorry I don't use Snapchat 😭
@@CodewithVincent they pay like 50x tiktok rn tho for posting spotlights
@@missipidog4962 maybe you can take this code and tweak it to work for snapchat!
@@CodewithVincent how would i adjust it
@@missipidog4962 that's your homework :)
I did a script very similar to yours but i have a problem it only downloads 48 videos then an error shows up and i don't know why the error is (unknown url type : '/'
sounds like you hit a case where the URL is incorrect, you'll need to filter those out / verify a url is valid before you try to download
@@CodewithVincent the url is correct and im facing the same problem only 48 videos downloaded then the same error🙆
Hey! Super cool and very informative video. Especially for someone like me who is *very* new to programming. That being said, I'm confused why the program only runs on debug mode. What changes in debug mode?
Also, I had an error occasionally pop up where the program couldn't write the video to my disk because the video title had a question mark in it, which windows can't do on files. Removing "- {videoTitle}" from line 56 in step 5 helped tremendously (for those that get the same error).
Not sure what you mean by debug mode, but the code should run regardless.
For the question about the title, you can also add code to remove question marks from the title :)
@@CodewithVincent Sorry, yeah it's not called debug mode. In the top right of Visual Studio Code, there's triangle that looks like a play button that runs the code. If I just click it normally, the program runs but when I check the download directory, no files are downloaded. If I click the drop down next to the run icon and select "debug python file" the program runs and the videos are downloaded for some reason. This could be something on my end, I'm not entirely sure. Like I said I am VERY new to programming lol.
@@quantum_tk that I'm not entirely sure, I would have to look at your setup to get a better sense. One thing you can do is print out the path it is saving the files to. Then you'll know where the files are getting saved to
@@CodewithVincent Yep! You were completely right. They downloaded to the default windows "videos" folder instead of the one I set up for it lol. Thanks for the help!
It's works, thank you so much!😍
You bet
Do more project videos this was really good
Thanks man! These videos take a lot of time but I'll try to do more :)
very good !! it's work !
Sweet! Glad it still works 🙂
Cool job! Everything is fine, but there was an error with scrolling, apparently Chrome vs selenium, so it only lets you download the first 30 videos, then writes: "Something went wrong", is there a solution?
You can manually scroll the entire page yourself and get the page source
@@CodewithVincent Understood, well, thank you for the work done, success in your prosperity
@@CodewithVincent I'm sorry, do you happen to have the same cool manual for mass uploading these videos to youtube?
@@iamcurrentflow I ended up doing it manually because I need to retitle them myself
@@CodewithVincent have you tried using the youtube api?
Hi, thank you for making this. I don’t know anything about Python and I just want to use the code in the description. Where do I put the link of my TikTok account in that code and where to put that whole code?
I go through everything in the video step by step 👀
awesome its works . i first time use python and get success in first attempt
That's awesome man! 😊
@@CodewithVincent
Yeah
But i make JavaScript code after using this Python code .
My code is easy to use no need to python.
you should share your code @@forester1
@@CodewithVincent sure . Tomorrow
Hello brother, how can I solve this error in the console? :
Traceback (most recent call last):
File "C:\Users\XCand\OneDrive\Escritorio\NEW SCRAPER\scrape_video.py", line 130, in
downloadVideo(video.a["href"], count)
File "C:\Users\XCand\OneDrive\Escritorio\NEW SCRAPER\scrape_video.py", line 56, in downloadVideo
downloadLink = downloadSoup.a["href"]
~~~~~~~~~~~~~~^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
I need more info
@@CodewithVincent apparently at some point in the list traversal, the current index has (downloadLink = downloadSoup.a["href"]
~~~~~~~~~~~~~~^^^^^^^^
TypeError: 'NoneType' object is not subscriptable)
--------------------------------------------
That is why the execution of the program is paused, because I did not find the solution to that error.
What I did was do a try catch to capture the error and so the videos that have that error are omitted and continue with the following videos, as follows:
try:
downloadVideo(video.a["href"], count)
count += 1
time.sleep(10)
except TypeError:
print("Error: 'NoneType' object is not subscriptable. Skipping to the next video.")
continue
@@EstrategasEmprendedores I have added debug statements in the code, it should have been outputted when you ran it. The debug statements should give you a hint of where it is failing
links in the href, display just the home tiktok url. is there anyway to retrieve unique urls of the list?
This might be patched
Sadly it doesnt work qnd tiktok blocks it
What do you mean tiktok blocks it, I just helped someone yesterday and they were able to get it to work
@@CodewithVincent i showed some pictures verify that you are not a bot and then Programm crashed
@@CodewithVincent and in github you write to take something from the video what do i need to take from the Video
@@coolgameloll9996 did you watch the video? Lol. For the tiktok captcha just change the timeout of the code to maybe 60 seconds and do the captcha yourself and wait for the program to run
@@CodewithVincent yes i wonderd why the code you copied in was not in github. Because in the video you have more lines
Where is the code for this bot?
The code is in the video :)
@@CodewithVincent Can you make a video to teach you how to write code, change the size of the video we want through python code. Click once to change all hours
@@VictorSvRClubOfficial sorry don't quite understand your question. But I can add it to my potential lists of videos to make
Could you do a updated video please I am stuck and they website code is different.
This may have been patched, I haven't had time to try it. Sorry mate
wow amazing video, ur chill but informative style will serve you well
Not sure if this is interesting to you but would you consider making a video on a bot that downloads tiktok content then re-posts it onto Instagram while keeping the hashtags etc? you could possibly make it for youtube shorts too (free cat video views lol)
much love
Thanks man, will definitely look into that when I have free time.
Hey this is so awesome! Where did you post the code?
Code is in the video 😁
Life Saver Bro i was going on a long route there. i'm doing it on my own and already at the downloading stage. a small pointer there is going to be a captch and and loading delay or stuck which will be really a bummer and the scrolling function will not be able to get all videos just a tip for saving me. you can upload it in your next video though
Why do you need a captcha? I never had to deal with that
Scraper works fine but the videos can't play. They save like this: "0-It seems that your link is not a valid TikTok link... Please, make sure that your link leads to a TikTok website and has a video on a page." Is there a way to fix this?
You'll need to share more details from the program output. It could be something up with the code
@@CodewithVincent Sorry, my bad. I didn't change anything with the code even the div className. I tried it again after adding the className and cookies, headers as you explained in the video. I'm still not sure I added them correctly. Anyway, now I get this issue. Browser scroll the page but then it automatically close. Terminal shows "Time to download 0 videos" but it has already closed the program.
@@RumeshPeiris I can't really help without seeing the output of your code. Feel free to join the discord and we can figure it out
U earned a sub
Thank you mate ☺️
Great video,I ran the script and it says type error: "nonetype " is not subscriptable
Send the entire output
hi I have a problem NameError: name 'link' is not defined
You're going to need to provide more details
great vid
Thanks!
I was wondering, do you know if there is anyway to modify this in a way that an email could be sent if a user uploaded a new video?
There are several ways you can achieve this. You would want to keep track of the videos you've downloaded and perhaps run this script each day or however frequent you want. Then once you find a new video, you would download the video and send the email. This is something that ChatGPT can help with.