Share Share cách lấy link video của kênh tiktok bất kỳ để tải toàn bộ video khi không có phần mềm

admin

Administrator
Staff member
Anh em ai chưa biết có thể xài nhé, xem chi tiết ở video.
--------------------------------
let goToBottom = setInterval(() => window.scrollBy(0, 400), 1000);
-------------------------------
clearInterval(goToBottom);
let arrayVideos = [];
console.log('\n'.repeat(50));
const containers = document.querySelectorAll('[class*="-DivItemContainerV2"]');
for (const container of containers) {
const link = container.querySelector('[data-e2e="user-post-item"] a');
const title = container.querySelector('[data-e2e="user-post-item-desc"] a');
//If the link is
Để xem link bị ẩn này, bạn cần viết bình luận. Nếu chưa có tài khoản, vui lòng Đăng ký hoặc Đăng nhập
, set it as the current page URL
if (link.href === '
Để xem link bị ẩn này, bạn cần viết bình luận. Nếu chưa có tài khoản, vui lòng Đăng ký hoặc Đăng nhập
') link.href = window.location.href;
arrayVideos.push(title.title + ';' + link.href);
console.log(title.title + '\t' + link.href);
}
--------------------------------------
let data = arrayVideos.join('\n');
let blob = new Blob([data], {type: 'text/csv'});
let elem = window.document.createElement('a');
elem.href = window.URL.createObjectURL(blob);
elem.download = 'my_data.csv';
document.body.appendChild(elem);
elem.click();
document.body.removeChild(elem);
 

Attachments

  • cách lấy link video của kênh tiktok bất kỳ.mp4
    4 MB

Bài viết tương tự

Back
Top