KurtBestor / Hitomi-Downloader

:cake: Desktop utility to download images/videos/music/text from various websites, and more.
20.94k stars 1.96k forks source link

틱톡 다운로드가 안됩니다 #6546

Open hahachim opened 8 months ago

hahachim commented 8 months ago

Invalid: [tiktok] https://www.tiktok.com/@editfutyy

version: 3.8f+ (23-11-02 01:42:17 UTC) platform / locale: Windows-10-10.0.22621-SP0 / ko_kr order / group / uid: 0 / False / 0beccba281d840ccbc42f04764f950d4 input: https://www.tiktok.com/@editfutyy type: tiktok single: True url: https://www.tiktok.com/@editfutyy dir: zip: artist: None valid / done: False / True range / range_p: None / None time: 1699121136.0384047 (23-11-04 18:05:36 UTC) - 13s elapsed tags: [] lock: False color: invalid paused: False format: None p2f: None segment: None admin: True goodbyedpi: True ytdl: yt_dlp 2023.10.07 pinned: False extras: {} live: False changed: True

[File Names]

[URLs]

[Messages] no html [warning] Deprecated Feature: Support for Python version 3.7 has been deprecated. See https://github.com/yt-dlp/yt-dlp/issues/7803 for details. You may stop receiving updates on this version at any time! Please update to Python 3.8 or above [error] Deprecated Feature: Support for Python version 3.7 has been deprecated. See https://github.com/yt-dlp/yt-dlp/issues/7803 for details. You may stop receiving updates on this version at any time! Please update to Python 3.8 or above [warning] The program functionality for this site has been marked as broken, and will probably not work. [debug] [tiktok:user] Extracting URL: https://www.tiktok.com/@editfutyy [debug] [tiktok:user] editfutyy: Downloading webpage [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 1 of 4) [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 2 of 4) [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 3 of 4) [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying (1/3)... [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 1 of 4) [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 2 of 4) [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 3 of 4) [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying (2/3)... [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 1 of 4) [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 2 of 4) [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 3 of 4) [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying (3/3)... [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 1 of 4) [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 2 of 4) [debug] [tiktok:user] editfutyy: Downloading user video list page 1 [warning] [tiktok:user] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 3 of 4) [debug] [tiktok:user] editfutyy: Downloading user video list page 1 ERROR: [tiktok:user] editfutyy: editfutyy: 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 stop Traceback (most recent call last): File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\utils_utils", line 555, in decode return super().decode(s) File "json\decoder", line 337, in decode File "json\decoder", line 355, in raw_decode json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\common", line 1014, in _parse_json json_string, cls=LenientJSONDecoder, strict=False, transform_source=transform_source, **parser_kwargs) File "json__init__", line 361, in loads File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\utils_utils", line 563, in decode raise type(e)(f'{e.msg} in {s[e.pos-10:e.pos+10]!r}', s, e.pos) json.decoder.JSONDecodeError: Expecting value in '': line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\YoutubeDL", line 1567, in wrapper return func(self, args, kwargs) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\YoutubeDL", line 1702, in extract_info ie_result = ie.extract(url) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\common", line 715, in extract ie_result = self._real_extract(url) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\tiktok", line 806, in _real_extract thumbnail = traverse_obj(videos, (0, 'author', 'avatar_larger', 'url_list', 0)) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\utils\traversal", line 239, in traverse_obj result = _traverse_obj(obj, path, index == len(paths), True) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\utils\traversal", line 227, in _traverse_obj results, has_branched, is_dict = apply_path(obj, path, test_type) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\utils\traversal", line 215, in apply_path branching, results = apply_key(key, obj, last) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\utils\traversal", line 173, in apply_key result = obj[key] File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\utils_utils", line 2195, in getitem self._cache.extend(itertools.islice(self._iterable, n)) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\tiktok", line 774, in _video_entries_api for retry in self.RetryManager(): File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\utils_utils", line 5112, in iter self.error_callback(self.error, self.attempt, self.retries) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\common", line 3763, in _error_or_warning sleep_func=self.get_param('retry_sleep_functions', {}).get('extractor')) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\utils_utils", line 5120, in report_retry raise e File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\tiktok", line 778, in _video_entries_api errnote='Unable to download user video list') File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\tiktok", line 132, in _call_api raise e File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\tiktok", line 125, in _call_api res = self._call_api_impl(ep, real_query, manifest_app_version, video_id, fatal, note, errnote) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\tiktok", line 67, in _call_api_impl }, query=query) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\common", line 1069, in download_content res = getattr(self, download_handle.name__)(url_or_request, video_id, kwargs) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\common", line 1039, in download_handle return parse(self, content, video_id, transform_source=transform_source, fatal=fatal, errnote=errnote), urlh File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\common", line 1029, in parse return getattr(ie, parser)(content, args, **kwargs) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\common", line 1016, in _parse_json self.print_error('Failed to parse JSON' if errnote is None else errnote, fatal, video_id, ve) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\extractor\common", line 999, in print_error raise ExtractorError(f'{video_id}: {errnote}', cause=err) yt_dlp.utils.ExtractorError: [tiktok:user] editfutyy: editfutyy: 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

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "utils", line 1378, in start File "utils", line 1457, in start_ File "extractor\tiktok_downloader", line 68, in read File "extractor\tiktok_downloader", line 135, in read_channel File "ytdl", line 464, in extract_info File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\YoutubeDL", line 1556, in extract_info return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process) File "D:\hitomi_downloader_GUI_MEI160002\ytdl_30834dbf\yt_dlp\yt_dlp\YoutubeDL", line 1585, in wrapper self.report_error(str(e), e.format_traceback()) File "ytdl", line 407, in report_error yt_dlp.utils.DownloadError: ERROR: [tiktok:user] editfutyy: editfutyy: 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

Invalid: fail=True EOT: https://www.tiktok.com/@editfutyy (12.6s)

정식버전, 11.2 테스트 버전으로 해보고, hitomi_downloader_GUI.exe --disable-gpu=False, hitomi_downloader_GUI.exe --safemode 으로도 해봤는데 안되네요. 그리고 다른 계정도 해봤는데 역시 다운이 안되네요 ㅠㅠ

depth221 commented 7 months ago

https://github.com/KurtBestor/Hitomi-Downloader/issues/6601#issuecomment-1826673201


https://github.com/yt-dlp/yt-dlp/issues/3776 틱톡에서 웹 브라우저가 아닌 다운로드 스크립트(yt-dlp)로 웹 사이트에 접속하는 걸 막아서 다운로드가 안 되는 것 같습니다.

https://github.com/KurtBestor/Hitomi-Downloader/blob/d61601f1e4b0d15c005509ed4edc70630325a0b9/src/extractor/tiktok_downloader.py yt-dlp를 쓰기 전 버전의 다운로드 스크립트를 다운로드한 후, Alt+S로 다운로드한 스크립트를 삽입하면 정상적으로 다운로드가 됩니다.

FunkyJustin commented 6 months ago

#6601 (comment)

yt-dlp/yt-dlp#3776 틱톡에서 웹 브라우저가 아닌 다운로드 스크립트(yt-dlp)로 웹 사이트에 접속하는 걸 막아서 다운로드가 안 되는 것 같습니다.

https://github.com/KurtBestor/Hitomi-Downloader/blob/d61601f1e4b0d15c005509ed4edc70630325a0b9/src/extractor/tiktok_downloader.py yt-dlp를 쓰기 전 버전의 다운로드 스크립트를 다운로드한 후, Alt+S로 다운로드한 스크립트를 삽입하면 정상적으로 다운로드가 됩니다.

Thank you so much, it worked for me!