Skip to main content

Django app for managing a searchable index of Youtube videos

Project description


ytindex is a Django app for managing a searchable index of Youtube videos and their captions. The app relies on Elasticsearch for the indexing and searching. The app has no admin, no models and only provides one restful endpoint for making queries.

To use

Install Elasticsearch and then install

pip install django-ytindex django
  1. Add "ytindex" to your INSTALLED_APPS

  2. Include the ytindex URLconf in your project

    path('yti/', include('ytindex.urls')),
  3. Define the channel id of the Youtube channel you want to index and the Elasticsearch config you want to use

          'jrei': {
              'channel_id': 'UCzQUP1qoWDoEbmsQxvdjxgQ',
              'line_size': 12,
              'elastic': {
                  'index': 'jre-index',
                  'dtype': 'jrei-episode',
                  'es_host': 'localhost:9200'
  4. Run

      ./manage index_latest [index name eg. jrei]

    to index the latest videos on the channel. (Put this in crontab)

  5. Run the dev server and visit to search the index.

Project details

Download files

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

Files for django-ytindex, version 0.1.67
Filename, size File type Python version Upload date Hashes
Filename, size django-ytindex-0.1.67.tar.gz (7.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page