From bd6e8d2d7a76e8f0ffc657769b2f8265a37f3c0f Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Mon, 14 Oct 2024 21:09:56 +0200 Subject: [PATCH 1/2] Add: "active" field to Import URLs table --- archivist/apps/importer/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archivist/apps/importer/models.py b/archivist/apps/importer/models.py index 2286562..0cad64b 100644 --- a/archivist/apps/importer/models.py +++ b/archivist/apps/importer/models.py @@ -25,6 +25,8 @@ class ImportSourceURLs(models.Model): source_type = models.CharField(max_length=1, choices=SOURCE_TYPES, default=None) + active = models.BooleanField(default=True) + class Meta: verbose_name = _("Import Source URL") verbose_name_plural = _("Import Source URLs") From 5cb73878c4019b3ecaedc57aebf1d8b3c60e0b84 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Mon, 14 Oct 2024 21:22:32 +0200 Subject: [PATCH 2/2] Fix: twitter include config for gallery-dl --- gallery-dl.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/gallery-dl.conf b/gallery-dl.conf index 533c796..af40c55 100644 --- a/gallery-dl.conf +++ b/gallery-dl.conf @@ -80,6 +80,7 @@ "text-tweets": false, "twitpic": false, "users": "timeline", + "include": ["avatar", "background", "timeline", "tweets"], "videos": true, "progress" : 0.1, "filename" : "{author[name]}-[{date:%Y-%m-%d_%H-%M-%S}]-[{tweet_id}]-{num}.{extension}",