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

Added Pinterest video downloading feature #1253

Merged
merged 2 commits into from
Jul 5, 2023

Conversation

GopherGhaznix
Copy link
Contributor

return nil, errors.WithStack(extractors.ErrURLParseFailed)
}

title := strings.Split(titleMatcher[0], "<title>")[1]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The matching rules don't seem right, the test fails:

utils.go:53: Got: { Pin on TikTok ~ The world of food</title>  4676927}
            Expected: {https://www.pinterest.com/pin/532198880988430823/ Pin on TikTok ~ The world of food  4676927}

Fixed title extractor
Copy link
Owner

@iawia002 iawia002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@iawia002 iawia002 merged commit 3da4af3 into iawia002:master Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants