reverting and merging into streaming app instead
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s

This commit is contained in:
2026-08-07 12:00:32 +01:00
parent 7a1021edfa
commit 2b410b5ff8
14 changed files with 23 additions and 94 deletions
+17
View File
@@ -9,3 +9,20 @@ class streamingData(models.Model):
class Meta:
db_table = 'streaming'
class urlData(models.Model):
def sanitize(self):
print(self)
return 1
name = models.CharField(primary_key=True,max_length=1000, help_text="Name of the show")
url_example = models.CharField(max_length=1000, help_text="https://www.1shows.org/tv/456-the-simpsons?streaming=true&season=18&episode=5")
prefix = models.CharField(max_length=1000, help_text="https://www.1shows.org/tv/456-the-simpsons?streaming=true&season=",blank=True, null=True)
infix = models.CharField(max_length=1000, help_text="&episode=",blank=True, null=True)
suffix = models.CharField(max_length=1000, help_text="" ,blank=True, null=True)
addedDate = models.DateField('Published', blank=True, null=True, auto_now_add=True)
alias = models.CharField(max_length=1000, default=sanitize)
class Meta:
db_table = 'redirectUrl'