Giter Club home page Giter Club logo

tiktok-content-farm's Introduction

TikTok-content-farm

Auto download all videos of some youtube channel and crop it into parts of 40 s to post them to the tick tok

NEW VERSION IS AVAILABLE NOW!!

What is new

  • Now you should run just one program. It will upload and crop the video itself
  • Absolute path to video folder works correctly
  • Get channel id by it's name
  • Using faster lib to crop videos (x 150 - 200 %) boost

Using

  • Clone this repo git clone https://github.com/freQuensy23-coder/TikTok-content-farm
  • Get youtube api key and paste it into field youtube_api_key in config file
  • Install libs (pip install -r requirements.txt)
  • Select channel in youtube with memes or other trash content.
  • Copy it's channel id to channel_id field. If you can't find channel id in link, use channel id finder (second tool)
  • Run main.py and follow the instructions
  • Videos will be downloaded to folder you selected. Cropped videos will be saved to ..._cropped folder

Publishing to TikTok

  • Send downloaded videos to your phone (for ex. using Google Drive)
  • Create new TikTok account with login as the name of the YouTube channel.
  • Publish one video per 6-8 hours.
  • If the content of the channel that you have found is really trashy, you can quickly (in a month) promote your channel on tick tok and sell your account by going to a profit.

Will be released in the next versions

  • Video preview and selection before downloading
  • Auto posting to Tik Tok using MIM proxy and unofficial API
  • Downloading by search query

tiktok-content-farm's People

Contributors

frequensy23-coder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tiktok-content-farm's Issues

config?

PS C:\Users\flays> & C:/Users/flays/AppData/Local/Microsoft/WindowsApps/python3.9.exe c:/Users/flays/TikTok-content-farm/main.py
Traceback (most recent call last):
File "c:\Users\flays\TikTok-content-farm\main.py", line 4, in
from config import *
ModuleNotFoundError: No module named 'config'
PS C:\Users\flays>

make it deployable on heroku & direct link as input

Hi freQuesncy23-coder ,
please make it deployable on heroku free dyno for work autopilot & fully free. also heroku have wide range of buildpacks like imagemagick , chrome headless , ffmpeg ,
.. & using set workers in Procfile , u can autorun important cmds after awake dyno from daily sleep.
waiting for your changes commits :)
finest regards
goodbye

please respond!

I just want to ask can this thing automatically schedule and post videos on tiktok or i need to do that manually?

Problem during runtime

(0) Get last videos of some channel (by it's id)
(1) Get channel id by it's name
(2) Get last videos by some search query
What do you want to do
0
Print channel id UC8pOnl4XYXcKfZ_aWBO0o_A
Print folder_name videos
0%| | 0/50 [00:01<?, ?it/s]
Traceback (most recent call last):
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/main.py", line 181, in fmt_streams
extract.apply_signature(stream_manifest, self.vid_info, self.js)
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/extract.py", line 409, in apply_signature
cipher = Cipher(js=js)
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/cipher.py", line 33, in init
raise RegexMatchError(
pytube.exceptions.RegexMatchError: init: could not find match for ^\w+\W

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/leki/Downloads/TikTok-content-farm-master/main.py", line 83, in
download_channel_videos(channel_id, folder)
File "/Users/leki/Downloads/TikTok-content-farm-master/main.py", line 52, in download_channel_videos
yt.streams
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/main.py", line 296, in streams
return StreamQuery(self.fmt_streams)
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/main.py", line 188, in fmt_streams
extract.apply_signature(stream_manifest, self.vid_info, self.js)
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/extract.py", line 409, in apply_signature
cipher = Cipher(js=js)
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/cipher.py", line 33, in init
raise RegexMatchError(
pytube.exceptions.RegexMatchError: init: could not find match for ^\w+\W

System info

  • MacOSX
  • 16gb ram
  • silicone
  • python 3.9

Problem Youtube API

I don't know where to put the youtube api key

Traceback (most recent call last):
File ".\main.py", line 65, in
api = Api(api_key=youtube_api_key)
NameError: name 'youtube_api_key' is not defined

pyyoutube

ERROR: Could not find a version that satisfies the requirement pyyoutube (from versions: none)
ERROR: No matching distribution found for pyyoutube

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.