Fix non downloaded videos
All checks were successful
Push image to registry / build-image (push) Successful in 4m56s
All checks were successful
Push image to registry / build-image (push) Successful in 4m56s
This commit is contained in:
@ -172,6 +172,10 @@ class InstagramRepostJob extends BrowserJob implements ShouldBeUniqueUntilProces
|
|||||||
$reel = $infos[0];
|
$reel = $infos[0];
|
||||||
$videoInfo = $infos[1];
|
$videoInfo = $infos[1];
|
||||||
|
|
||||||
|
if ($videoInfo === null) {
|
||||||
|
continue; // Skip this reel if it failed to download
|
||||||
|
}
|
||||||
|
|
||||||
$repostSuccess = false;
|
$repostSuccess = false;
|
||||||
do {
|
do {
|
||||||
$repostSuccess = $this->repostReel($browser, $reel, $videoInfo);
|
$repostSuccess = $this->repostReel($browser, $reel, $videoInfo);
|
||||||
|
Reference in New Issue
Block a user