-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more URL schemes for YouTube (#471)
* Add more URL schemes for YouTube Add new URL schemes for the YouTube Parser: 1. Support for different subdomains: Handles `www.`, `m.` (mobile), and no subdomain variations. 2. Domain variations: Supports both `youtube.com`, `youtu.be`, and `youtube-nocookie.com`. 3. Path variations: Supports paths like `/watch`, `/embed/`, `/v/`, `/e/`, `/shorts/`, `/live/`, `/playlist`, etc. 4. Query parameters: Allows for multiple query parameters like feature, list, index, etc. 5. Timestamps: Supports timestamps like `#t=1m30s`, `#t=10s`, or `t=60s`. 6. Special cases: Includes cases like `oembed?url=`, `attribution_link?a=`, and others.
- Loading branch information
Showing
2 changed files
with
60 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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