HA6Bots / TikTok-Compilation-Video-Generator

A system of bots that collects clips automatically via custom made filters, lets you easily browse these clips, and puts them together into a compilation video ready to be uploaded straight to any social media platform. Full VPS support is provided, along with an accounts system so multiple users can use the bot at once. This bot is split up into three separate programs. The server. The client. The video generator. These programs perform different functions that when combined creates a very powerful system for auto generating compilation videos.
https://www.youtube.com/watch?v=Ua-NbCDuYrE
MIT License
766 stars 121 forks source link

cant find videos from hashtags #13

Open benm3ak opened 3 years ago

benm3ak commented 3 years ago

bot is working fine but i cant find videos from hashtags

benm3ak commented 3 years ago

@HA6Bots

rheedofihi commented 3 years ago

@benm3ak were you able to fix this?

calvinti12 commented 3 years ago

Did you guys find a fix for this

ghost commented 3 years ago

@HA6Bots

ADH36 commented 3 years ago

If you report anything make sure to provide logs or something useful in research of an issue .

Thank you .

eggieRoll commented 3 years ago

Also seeing this, search by hashags doesn't return any videos. Looks like parsing error from the log. Any thoughts?

error occurred parsing: {'code': '10000', 'from': '', 'type': 'verify', 'version': '', 'region': 'sg', 'subtype': 'slide', 'detail': 'ckPOcpfoAP7KPgGHYXWFpicK*-upMy-XMprC4ji5Zt2PnMg7uc5m5pwEWEaA-GTpM19p8xStN3frQGZI6Uk6bM-AiXCMJT*6gRdUVeQm8gxRsEAXwtXSWp-k-TOxX8T2Zo2ZT1uMv6IK-vF5SZl1NZD0nntYC1WnHMG5xdzFKLtiIEakPX98E2Txx-DR9Dh3tcz0AGNYEfAcRgE*X885yMLRIJ42eF5OwYz1XkROV1GubSV5HuESf3refJhPgF3RvKBI*tFCDi7VLLM2C-8cQwhDiPANtb18ivfjEMo5ZTW6CHCEaD3z4BhqpUEsSpajROzCgRcwqt1DofnlETWi2lnjVS2jxoOCiNYsrSNA0h7kuBbmAdmWi9UokFhdjK79OcWZpfpRwUu9dUtP7iemD7urjaZnbl3fOnbLWSCfOw..', 'verify_event': '', 'fp': 'verify_kpxhjn9j_t9bCGKyV_Im79_43tM_BN4m_J51OyqcGMArM', 'scene': '', 'verify_ticket': '', 'channel_mobile': '', 'sms_content': '', 'mobile': '', 'email': ''}
ADH36 commented 3 years ago

Also seeing this, search by hashags doesn't return any videos. Looks like parsing error from the log. Any thoughts?

error occurred parsing: {'code': '10000', 'from': '', 'type': 'verify', 'version': '', 'region': 'sg', 'subtype': 'slide', 'detail': 'ckPOcpfoAP7KPgGHYXWFpicK*-upMy-XMprC4ji5Zt2PnMg7uc5m5pwEWEaA-GTpM19p8xStN3frQGZI6Uk6bM-AiXCMJT*6gRdUVeQm8gxRsEAXwtXSWp-k-TOxX8T2Zo2ZT1uMv6IK-vF5SZl1NZD0nntYC1WnHMG5xdzFKLtiIEakPX98E2Txx-DR9Dh3tcz0AGNYEfAcRgE*X885yMLRIJ42eF5OwYz1XkROV1GubSV5HuESf3refJhPgF3RvKBI*tFCDi7VLLM2C-8cQwhDiPANtb18ivfjEMo5ZTW6CHCEaD3z4BhqpUEsSpajROzCgRcwqt1DofnlETWi2lnjVS2jxoOCiNYsrSNA0h7kuBbmAdmWi9UokFhdjK79OcWZpfpRwUu9dUtP7iemD7urjaZnbl3fOnbLWSCfOw..', 'verify_event': '', 'fp': 'verify_kpxhjn9j_t9bCGKyV_Im79_43tM_BN4m_J51OyqcGMArM', 'scene': '', 'verify_ticket': '', 'channel_mobile': '', 'sms_content': '', 'mobile': '', 'email': ''}

Using VPN or Proxy?

benm3ak commented 3 years ago

Also seeing this, search by hashags doesn't return any videos. Looks like parsing error from the log. Any thoughts?

error occurred parsing: {'code': '10000', 'from': '', 'type': 'verify', 'version': '', 'region': 'sg', 'subtype': 'slide', 'detail': 'ckPOcpfoAP7KPgGHYXWFpicK*-upMy-XMprC4ji5Zt2PnMg7uc5m5pwEWEaA-GTpM19p8xStN3frQGZI6Uk6bM-AiXCMJT*6gRdUVeQm8gxRsEAXwtXSWp-k-TOxX8T2Zo2ZT1uMv6IK-vF5SZl1NZD0nntYC1WnHMG5xdzFKLtiIEakPX98E2Txx-DR9Dh3tcz0AGNYEfAcRgE*X885yMLRIJ42eF5OwYz1XkROV1GubSV5HuESf3refJhPgF3RvKBI*tFCDi7VLLM2C-8cQwhDiPANtb18ivfjEMo5ZTW6CHCEaD3z4BhqpUEsSpajROzCgRcwqt1DofnlETWi2lnjVS2jxoOCiNYsrSNA0h7kuBbmAdmWi9UokFhdjK79OcWZpfpRwUu9dUtP7iemD7urjaZnbl3fOnbLWSCfOw..', 'verify_event': '', 'fp': 'verify_kpxhjn9j_t9bCGKyV_Im79_43tM_BN4m_J51OyqcGMArM', 'scene': '', 'verify_ticket': '', 'channel_mobile': '', 'sms_content': '', 'mobile': '', 'email': ''}

Using VPN or Proxy?

i still get this error when im not using vpn or proxy

ahmadthakur commented 3 years ago

Did anyone find a fix for this? Finding videos by Trending works But finding videos by Hashtag and author do not work

adriaesteve commented 3 years ago

The cause is that the function attemptAddScripts in Server/tiktok.py file, receives the value 'Trending' for the parameter typeofrequest.

I don't have an environment to develop a fix, but if you ONLY want to download videos by hashtag, you can do this:

  1. Open TikTok-Compilation-Video-Generator\TikTok Server\tiktok.py
  2. Replace line 45: parseType = "itemList" if typeofrequest == "Hashtag" else "items" for parseType = "itemList" #if typeofrequest == "Hashtag" else "items". Like this:

image

If you apply this fix, the download by Trending and Author won't work.