You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, this code extends the getVideoMeta() function.
The comment scraping uses the corresponding API endpoint, which requires authentication.
Hence, this will only work if a user provides a valid session.
Also, downloading will only happen if the new parameter includeComments is set. This parameter is also available via CLI.
So, this new feature will not change any of the current behavior of this program.
Would be awesome if this could be merged. :)
Let me hear, if you think that anything should be done differently.
Hey great work.
I need this feature so i was testing it and it works ok.
Please merge this Feature soon.
Suggestions:
Comments can be very numerous and have a lot of fields, so maybe it is better to have this feature like video, hashtag on cli like tiktok-scraper comments [ID]
Suggestions: Comments can be very numerous and have a lot of fields, so maybe it is better to have this feature like video, hashtag on cli like tiktok-scraper comments [ID]
Yeah, I thought about making it a separate option.
Currently, you would call it like this on the cli: tiktok-scraper video --includeComments [ID]
So, without the option --includeComments, it still only downloads the video, which is important, because comments can indeed be very numerous.
In my opinion, comments are not so useful without the video they belong to, so I added it to the video download feature.
However, I'm open to make it a separate call, if the project maintainer wishes so.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR would solve issue #554
Basically, this code extends the
getVideoMeta()function.The comment scraping uses the corresponding API endpoint, which requires authentication.
includeCommentsis set. This parameter is also available via CLI.So, this new feature will not change any of the current behavior of this program.
Would be awesome if this could be merged. :)
Let me hear, if you think that anything should be done differently.