Comments (6)
See #28 for the context on using the oembed API to check YouTube links (instead of checking YT links directly, which always return 200)
from lychee.
they're not the same link ....
from lychee.
We no longer use oEmbed links for Youtube as they don't return a correct status code.
Instead we use the thumbnail URL, which is more reliable.
(Note that we don't download the image but just check the headers for the status code.)
See the discussion starting at #214 (comment) and the change at #232.
That said, the video URL you posted (https://youtu.be/Rvu7N4wyFpk) points to a video that is no longer available, so this is certainly a bug. I've created a PR to fix this with #908.
Thanks for the report @buddhist-uni.
from lychee.
Should be fixed in master
now if you want to try @buddhist-uni. Otherwise it will go live with the next release.
from lychee.
Ah! Non-embedable videos! Nice trick with the Thumbnail URL. And thanks for the fix
from lychee.
That was @pawroman's idea.
from lychee.
Related Issues (20)
- Link, crossorigin, and integrity directive are being combined into unresolvable link HOT 9
- Docker Hub tag `latest` isnt. HOT 1
- example config file won't work as expected HOT 5
- Publish to microsoft store in msix format HOT 5
- Test failure for 0.12.0 on Arch Linux HOT 13
- Progress bar terminal line wrap issues HOT 1
- specific status code only for one link? HOT 5
- add postfix on a specific url HOT 1
- Text containing URL is not properly checked HOT 9
- Add option to excuse domain from `--require-https` HOT 17
- Specified file glob seems to be ignored (on Windows) HOT 7
- Config file verbosity HOT 5
- TOML parse error on `base` HOT 3
- ssl errors sometimes erroneously 'ok' HOT 5
- 'Verbose' does not accept boolean, as documented in example HOT 2
- Absolute local paths on Windows not recognized HOT 7
- Write errors to stderr HOT 2
- Incorrect URL extraction for links in `<pre>` tags
- Add custom delay inbetween requests (prevent ban) HOT 12
- Make `IGNORED` URLs failures more visible in the summary HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lychee.