wahdalo / tiktok-src Goto Github PK
View Code? Open in Web Editor NEWTiktok downloader & auto upload to reels facebook (with puppeteer)
License: MIT License
Tiktok downloader & auto upload to reels facebook (with puppeteer)
License: MIT License
[ Proses Download ] [<<<<<<<<<<<<<<<<<<<<<<<<<<] 100% downloaded in 1.2s
[09:56:39] INFO: Session ditemukan, mencoba akses Facebook...
[09:56:42] Berhasil membuka fb
[09:56:42] TypeError: Cannot read properties of undefined (reading 'click')
kek gini kasusnya bang kira2 gimana
TypeError: Cannot read properties of undefined (reading 'video')
at downloadAndUpload (file:///root/tiktok-src/index.js:13:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
node version: 20.11.1
npm version: 10.2.4
Pas saya coba, saya jalankan node index.js dan memasukkan Link nya
Saya coba viar terminal, error nya skipped
D:\My Projects\Tiktok SRC\tiktok-src>node index.js
Do you want to enter a single URL or a list of URLs? (single/list): single
Enter the TikTok URL: https://vt.tiktok.com/ZSFkUFNTh/
[ 7339720260280536326 already downloaded! ] ===== [skipped]
Kebetulan udah saya kaitkan dnegan Bot tele, saya coba via telegram
[bot.info] bot started
https://vt.tiktok.com/ZSFkU8N9X/
[ Proses Download ] [<<<<<<<<<<<<<<<<<<<<<<<<<<] 100% downloaded in 0.9s
[10:07:19] INFO: Session ditemukan, mencoba akses Facebook...
[10:07:23] Berhasil membuka fb
[10:07:53] TimeoutError: Waiting for FileChooser
failed: 30000ms exceeded
Oh iya, pas saya jalankan perintah, Browser Chrome di PC saya terbuka sendiri, tapi yang terbuka adalah jendela baru dan bukan chrome yang saya gunakan untuk login Facebook, kira-kira apa masalahnya bang? Terimakasih
[03:04:27] INFO: Session ditemukan, mencoba akses Facebook...
[03:04:34] Berhasil membuka fb
[03:04:34] TypeError: page.$x is not a function
Meta data Video yang di Download setelah dicek menghasilkan
codec_name: 'h264',
codec_long_name: 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10',
codec_type: 'video',
width: 576,
height: 1024,
coded_width: 576,
coded_height: 1024,
has_b_frames: 2,
bits_per_raw_sample: '8',
kesimpulan resolusi video yang dihasilkan dari link video dari API tiktok :
SD (Standard Definition) | 480p | 4:3 | 640 x 480
apakah ada update lagi agar resolusi video minimal bisa menjadi :
HD (High Definition) | 720p | 16:9 | 1280 x 720
thanks
bang request feature buat ngasih default caption atau default tags dong.
jadi selain tag atau caption dari video asli, kita bisa juga tambahin template default tag atau caption dari kita.
lebih bagus lagi kalau sekali upload langsung masuk ke instagram dan facebook.
Terjadi saat setelah download video lalu popup browser
[14:10:59] INFO: Session ditemukan, mencoba akses Facebook...
[14:11:02] Berhasil membuka fb
[14:11:02] TypeError: Cannot read properties of undefined (reading 'click')
[14:11:05] Berhasil membuka fb
[14:11:05] TypeError: Cannot read properties of undefined (reading 'click')
file:///C:/Users/eXtazzy/Documents/tiktok-src/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js:51
this.#timeoutError = new TimeoutError(opts.message);
^
TimeoutError: Waiting for `FileChooser` failed: 30000ms exceeded
at new Deferred (file:///C:/Users/eXtazzy/Documents/tiktok-src/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js:51:34)
at Deferred.create (file:///C:/Users/eXtazzy/Documents/tiktok-src/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js:13:16)
at CdpPage.waitForFileChooser (file:///C:/Users/eXtazzy/Documents/tiktok-src/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js:353:35)
at file:///C:/Users/eXtazzy/Documents/tiktok-src/lib/browserHandler.js:74:14
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Untuk upload video lokal ke reels gimana mas?
how to add description on reels?
[00:57:38] INFO: Session ditemukan, mencoba akses Facebook...
[00:57:42] Berhasil membuka fb
[00:57:42] TypeError: page.$x is not a function
Hi bro,
I run the code with link tiktok: https://www.tiktok.com/@thuymomong/video/7365488805668736273
Then see the log :
Do you want to enter a single URL or a list of URLs? (single/list): single
Enter the TikTok URL: https://www.tiktok.com/@thuymomong/video/7365488805668736273
Scrape data tiktok, Please wait..
[ Proses Download ] [<<<<<<<<<<<] 100% downloaded in 3.3s
[16:51:46] INFO: Session ditemukan, mencoba akses Facebook...
[16:51:52] Berhasil membuka fb
[16:51:54] sukses Upload video 7365488805668736273.mp4
[16:52:04] Menginput Caption...
The loop was not end here. I check the browser , it show can not upload file to reel.
Please check
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.