New logging pls
This commit is contained in:
parent
9e146c6c69
commit
97de889b8b
@ -8,11 +8,11 @@ class Command(BaseCommand):
|
||||
help = "Updates all OdyseeChannel objects, creating OdyseeRelease objects for anything new"
|
||||
|
||||
def handle(self, *args, **options):
|
||||
self.stdout.write('Updating Channels...')
|
||||
self.stdout.write('Scraping Odysee channels for new content...')
|
||||
updates = 0
|
||||
failures = []
|
||||
for channel in odyseescraper.models.OdyseeChannel.objects.all():
|
||||
print(f'{str(channel)}...')
|
||||
print(f'Updating channel: {str(channel)}...')
|
||||
releases = odyseescraper.odysee.odysee_get_releases(channel.handle)
|
||||
for release in releases:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user