Skip to main content

Video src crawler

Project description

Web crawler to extract video data from HTML, MRSS and more.

This library primarily extracts the source attributes / tags from the HTML5 <video/> element.

Motivation

I needed to be able to enumerate videos from multiple different websites and formats.

Backends

A given URL is handled by a specific backend which knows how to interpret the HTML.

HTML

Meant to read from a static HTML page or index page generated by a webserver when viewing a directory full of video files. Looks for videos in <video/> and <a/> tags.

MRSS

Media RSS is a syndication format for media. As such we don’t really need to crawl the given URL but simply parse it and return the listed videos.

Peertube

Utilizes the PeerTube REST API to fetch video information.

Rumble

Uses web scraping to fetch video information. Utilizes Chromium to allow Javascript execution.

Timcast

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

videosrc-0.1.6-py3-none-any.whl (86.8 kB view details)

Uploaded Python 3

File details

Details for the file videosrc-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: videosrc-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 86.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.4

File hashes

Hashes for videosrc-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 445839f558bd08069adb2ea875416143e19e93daeb70a56012b09147ff2f2a3b
MD5 c5efb5d4a0f32152fecbc4ad0f3a6dff
BLAKE2b-256 be1001350fc560c8a4a9a99107103b98c1c0f8cf745b6e898a4c642c829c6c94

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page