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

404 when checking youtube-nocookie url #1562

Closed
mattr-rsolomon opened this issue Nov 8, 2024 · 3 comments · Fixed by #1563
Closed

404 when checking youtube-nocookie url #1562

mattr-rsolomon opened this issue Nov 8, 2024 · 3 comments · Fixed by #1563
Assignees
Labels
bug Something isn't working

Comments

@mattr-rsolomon
Copy link

Hi,
Youtube links in no cookie url form are returning 404. I understand from the previous Youtube related issues that Youtube URLs have their quirks, but wanted to ask if there is a way to properly handle youtube no-cookie URLs ?

thank you 🙌

<!-- testfile.html -->
<html>
  <body>
    <div>
      <iframe src="https://www.youtube-nocookie.com/embed/BIguvia6AvM" id="widget2"></iframe>
      <iframe src="https://www.youtube.com/watch?v=BIguvia6AvM"></iframe>
    </div>
  </body>
</html>
lychee --version
lychee 0.17.0

lychee ./testfile.html --verbose
     [404] https://www.youtube-nocookie.com/embed/BIguvia6AvM
     [200] https://www.youtube.com/watch?v=BIguvia6AvM
@mre mre self-assigned this Nov 8, 2024
@mre mre added the bug Something isn't working label Nov 8, 2024
@mre
Copy link
Member

mre commented Nov 8, 2024

Thanks, yeah, that's a bug.
We also don't handle /embed/ URLs as well, so that's two bugs. 😆

@mre
Copy link
Member

mre commented Nov 8, 2024

Should be fixed; thanks for reporting!

@mattr-rsolomon
Copy link
Author

that was quick! thank you for resolving the issue!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants