Add OdyseeScraper

This commit is contained in:
Salt 2025-01-18 23:10:20 -06:00
parent 603ed983e9
commit 01bdcb4f7d
2 changed files with 35 additions and 0 deletions

View File

@ -32,6 +32,7 @@ ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
'odyseescraper.apps.OdyseescraperConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',

View File

@ -0,0 +1,34 @@
# Generated by Django 5.1.5 on 2025-01-19 05:10
import django.db.models.deletion
import uuid
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='OdyseeChannel',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('name', models.CharField(max_length=1024)),
('handle', models.CharField(max_length=1024)),
],
),
migrations.CreateModel(
name='OdyseeRelease',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('name', models.CharField(max_length=1024)),
('description', models.TextField()),
('url', models.URLField(max_length=512)),
('channel', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='odyseescraper.odyseechannel')),
],
),
]