youtubeless
Get youtube video information and download links by url!
btw i don't know why u need to use this instead of youtube-dl ¯_(ツ)_/¯
Usage
import youtubeless
try:
res = youtubeless.search("https://www.youtube.com/watch?v=UOSF9YCfTB8")
except youtubeless.WrongUrlException:
print(f"You give me wrong url :/.")
except youtubeless.VideoNotAvailableException as ex:
print(f"Oh no, this video not available because of {ex}")
else:
print(f"Oh, {res.author}, i like this boy!")
if not res.formats:
print("There is no downloadable formats")
else:
print("There are so many download links... Which one should I choose?")
print(*[f"{f} {f.url}" for f in res.formats], sep='\n') # all types have __str__ method!
It has sync and async search methods:
- search_async - requires
aiohttpinstalled - search - requires
requestsinstalled
They are not installed with library by default!
Installation
To install youtubeless, simply:
$ pip install youtubeless
And don't forget to install aiohttp
$ pip install aiohttp
or requests
$ pip install requsts
Metadata
Release files for youtubeless 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| youtubeless-1.1.tar.gz | 4.1 kB | Without provenance | Details for youtubeless-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| youtubeless-1.1-py3-none-any.whl | Python 3 | none | any | Details for youtubeless-1.1-py3-none-any.whl |
Total release size: 8.5 kB
Release files / youtubeless-1.1.tar.gz
| Download URL | youtubeless-1.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa4890a9f4ac03f7056d5debc6122ccbd444a61b69482af6f8beab8fa64ab2a0
|
|
BLAKE2b-256 checksum How to use checksums |
bd26e0039a4c0d1071ff6b11fb52ffcae871486326bf1c6b0849522c11dfa0bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.24.0
|
Release files / youtubeless-1.1-py3-none-any.whl
| Download URL | youtubeless-1.1-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c98a77e5a884025e35091a7f4d07a645153349c351ed25d08d1c3893dbaed73e
|
|
BLAKE2b-256 checksum How to use checksums |
b25df1a06bb0c35fb92e53bed73e5535d05aca0bf40d6912cb4ed9b67d20deb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.24.0
|
Security for youtubeless 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.