#xgroovy.com module
#USAGE
import asyncio
from xgroovy.scraper import scrape_videos
from xgroovy.downloader import download_video
async def lol():
videos_json = await scrape_videos("cosplay")
print(videos_json)
#Run the async function using asyncio.run
asyncio.run(lol())
import asyncio
from xgroovy import scrape_videos, download_video
async def test_scrape_videos():
videos = await scrape_videos("cosplay")
assert len(videos) > 0
async def test_download_video():
video_url = await download_video("your_video_page_url_here")
assert video_url is not None
if __name__ == "__main__":
asyncio.run(test_scrape_videos())
asyncio.run(test_download_video())
Metadata
Release files for xgroovy 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xgroovy-0.1.4.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xgroovy-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / xgroovy-0.1.4.tar.gz
| Download URL | xgroovy-0.1.4.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f06f9bf00373fe140cdd278722751b5134072424a5fb36c880018c655fa1fa97
|
|
BLAKE2b-256 checksum How to use checksums |
40b5a05dd8372babd5bc006c9a7350590d6ccf554afb7cf63256740999b51170
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|
Release files / xgroovy-0.1.4-py3-none-any.whl
| Download URL | xgroovy-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91d0ee736f64b910de975f8aca45d7291fa25383a10e0490c522bd72d6ad92eb
|
|
BLAKE2b-256 checksum How to use checksums |
104df4f52689cdd2a28a22ca89e666410762104df66a0e8cb26ff6b3c6d26f73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|