Modify usage of videoinfo

This commit is contained in:
taizan-hokuto
2020-01-26 23:29:50 +09:00
parent cc78551e90
commit 38253e1d18
3 changed files with 31 additions and 19 deletions

View File

@@ -5,10 +5,11 @@ import traceback
from urllib.parse import quote
from . import parser
from . import videoinfo
from .. import config
from .. import util
from .. paramgen import arcparam
from ..exceptions import InvalidVideoIdException
logger = config.logger(__name__)
headers=config.headers
@@ -268,4 +269,4 @@ def check_duplicate(blocks):
for i in range(len(blocks)-1):
if ( is_same_offset(i) and is_same_id(i) and is_same_type(i) ):
ret.append(blocks[i])
return ret
return ret