Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TikTok Extractor Without Watermark #20644

Closed
Zipdox opened this issue Apr 11, 2019 · 7 comments
Closed

TikTok Extractor Without Watermark #20644

Zipdox opened this issue Apr 11, 2019 · 7 comments

Comments

@Zipdox
Copy link

@Zipdox Zipdox commented Apr 11, 2019

  • I've verified and I assure that I'm running youtube-dl 2019.04.07

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Since TikTok changed the layout the extractor returns a video with a watermark. I found a solution involving a JavaScript variable.
The easiest way to get the video URL without watermark is this code:
window.__INIT_PROPS__["/share/video/:id"]["videoData"]["itemInfos"]["video"]["urls"][2].replace("watermark=1", "watermark=0");
If you can't use JavaScript, window.__INIT_PROPS__ is declared in <script> in the head.

@reallyuniquename
Copy link

@reallyuniquename reallyuniquename commented Jul 28, 2019

Does it still work?

I don't see watermark param in the video url, adding it manually doesn't help either.

Yet there are online tools that rip videos without watermark. Is there another API or something?

Any plans to implement it in youtube-dl?

@yt-dddd775500
Copy link

@yt-dddd775500 yt-dddd775500 commented Jan 12, 2020

I can't figure out how to get the JavaScript to work either.

However, apps such as TikMate are still able to download videos without the watermark.

Anyone know how they're doing it?

@reallyuniquename

This comment has been hidden.

@reallyuniquename
Copy link

@reallyuniquename reallyuniquename commented May 5, 2020

New mechanism for tiktok without watermark #24563

@Zipdox
Copy link
Author

@Zipdox Zipdox commented Jun 22, 2020

@runraid
Copy link

@runraid runraid commented Jul 5, 2020

I got this working with youtube-dl using the above Javascript as an example.

I created a pull request here - #25895

@Zipdox
Copy link
Author

@Zipdox Zipdox commented Sep 30, 2020

This method is broken now.

@Zipdox Zipdox closed this Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.