charmparticle / tiktokget Goto Github PK
View Code? Open in Web Editor NEWA tiktok downloader. Downloads all tiktok videos for a username.
A tiktok downloader. Downloads all tiktok videos for a username.
Hi.
I can see that it has already been discusse,d but that issue was closed with you saying that you should remove windows support.
I am running your script in macos and the same happens for me, regardless of which account i try to download all videos from, only 30 videos are downloaded, counting down from 30 -> 01 (how it names them).
Could it be that Gecko Driver only downloads the first videos that are shown and some kind of "continous scrolling" to load more/all videos are needed to load the complete list?
There are no errors when downloading, but the behavior is the same each time and what makes it even more consistent is that it always starts downloading the video named 30 first, so it is pretty intentional.
some private profile cannot be downloaded. is it posible for the browser to support cookies, so I con donwload private profile that I already followed. thanks
Please add a feature to download the metadata JSON, thumbnail(s), and subtitles of the video, check out the code of yt-dlp for it.
I'm honestly fed up of trying to get Firefox running on my server service, can you please make a script to install the dependencies of tiktokget first?
What the problem? I'm can only download 30 videos in a user profile. Thanks
linux, bullseye11
opts.headless = True
Traceback (most recent call last):
File "/home/elias/.local/bin/tiktokget", line 49, in <module>
driver = webdriver.Firefox(options=opts)
File "/home/elias/.local/lib/python3.9/site-packages/selenium/webdriver/firefox/webdriver.py", line 196, in __init__
super().__init__(command_executor=executor, options=options, keep_alive=True)
File "/home/elias/.local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 286, in __init__
self.start_session(capabilities, browser_profile)
File "/home/elias/.local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 378, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/home/elias/.local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/home/elias/.local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status signal
Error attached below
Traceback (most recent call last):
File "/usr/local/bin/tiktokget", line 98, in <module>
title = driver.find_element(By.XPATH,"//span[contains(@class, 'SpanText')]").text
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: //span[contains(@class, 'SpanText')]
Please refer to https://github.com/upintheairsheep/ytdl-sheep/pull/6/files , but make them their original format.
Installed:
sudo pip3 install tiktokget
Run:
tiktokget -l https://www.tiktok.com/@taichi.zidong
/usr/local/bin/tiktokget:85: DeprecationWarning: headless property is deprecated, instead use add_argument('-headless')
opts.headless = True
Specific exercise Improve symptoms, daily fully- body exercise remove root causes..mp4
Downloading...
ERROR: [tiktok:user] taichi.zidong: taichi.zidong: Failed to parse JSON (caused by JSONDecodeError("Expecting value in '': line 1 column 1 (char 0)")); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
yt-dlp -U
Available version: [email protected], Current version: [email protected]
yt-dlp is up to date ([email protected])
I want to donwload all the videos I liked or bookmarked on my account. Hope this gonna be easy to implement
After a fresh install in a venv:
$ tiktokget prozd_tiktok
Traceback (most recent call last):
File "/home/tomwhoiscontrary/bin/tiktokget", line 8, in <module>
from sarge import get_stdout
ModuleNotFoundError: No module named 'sarge'
After doing pip install --upgrade sarge
, the scripts seems to run fine.
The wheel metadata has requires for yt-dlp, requests, and selenium, so i suspect it just needs one for sarge as well.
when i play ,i have a trouble, can you help me ?
C:\Users\Admin\Downloads\tiktokget-main\tiktokget-main>py tiktokget @led_du_go
Traceback (most recent call last):
File "C:\Users\Admin\Downloads\tiktokget-main\tiktokget-main\tiktokget", line 49, in
driver = webdriver.Firefox(options=opts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 170, in init
RemoteWebDriver.init(
File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.