- turbo + code adaptation
- cover & thumbnails download
This commit is contained in:
Jérémy Guillot
2024-07-06 21:25:07 +02:00
parent 7dee9d71be
commit 54c581b229
35 changed files with 1126 additions and 573 deletions

View File

@@ -16,10 +16,10 @@ class ContentSource
#[ORM\Column(length: 255)]
private ?string $baseUrl = null;
#[ORM\Column(length: 255)]
#[ORM\Column(length: 255, nullable: true)]
private ?string $imageSelector = null;
#[ORM\Column(length: 255)]
#[ORM\Column(length: 255, nullable: true)]
private ?string $NextPageSelector = null;
#[ORM\Column(length: 255)]

View File

@@ -52,6 +52,9 @@ class Manga
#[ORM\Column(length: 255, nullable: true)]
private ?string $status = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $thumbnailUrl = null;
public function __construct()
{
$this->chapters = new ArrayCollection();
@@ -234,4 +237,16 @@ class Manga
return $this;
}
public function getThumbnailUrl(): ?string
{
return $this->thumbnailUrl;
}
public function setThumbnailUrl(?string $thumbnailUrl): static
{
$this->thumbnailUrl = $thumbnailUrl;
return $this;
}
}