소스 검색

[videos] Fix splitting youtube IDs

Colin Powell 3 달 전
부모
커밋
1d5b91b6e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      vrobbler/apps/scrobbles/scrobblers.py

+ 1 - 1
vrobbler/apps/scrobbles/scrobblers.py

@@ -300,7 +300,7 @@ def manual_scrobble_from_url(url: str, user_id: int) -> Scrobble:
         except IndexError:
             pass
 
-    if content_key == "-i" and not item_id:
+    if content_key == "-i":
         item_id = url.split("v=")[1].split("&")[0]
 
     scrobble_fn = MANUAL_SCROBBLE_FNS[content_key]