Browse Source

download status

feature/new_bilibili_and_instagram_sxs20191126
shixuesen 4 years ago
parent
commit
6475df88af
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/Services/BilibiliServiceV2.php

+ 1
- 1
app/Services/BilibiliServiceV2.php View File

@ -272,7 +272,7 @@ class BilibiliServiceV2
$videoPartsMap = [];
if (count($vItems) > 0) {
foreach ($vItems as $vItem) {
if ($vItem["is_download"] == 1 && $vItem["is_downloaded"] == 0 || $vItem["download_status"] != 1) {
if ($vItem["is_download"] == 1 && $vItem["is_downloaded"] == 0 && $vItem["download_status"] != 1) {
// $videoList[] = "av" . $vItem["aid"];
if (!$this->repository->softLockUpdate(["id" => $vItem["id"]], $vItem["version"], ["download_status" => 1])) {
Log::warning("soft Lock failed id : " . $vItem["id"]);


Loading…
Cancel
Save