1
0
Fork 0

[compat, networking] Deprecate old functions (#2861)

Authored by: coletdjnz, pukkandan
This commit is contained in:
coletdjnz 2023-07-09 13:23:02 +05:30 committed by pukkandan
commit 3d2623a898
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
176 changed files with 706 additions and 728 deletions

View file

@ -2,12 +2,12 @@ import itertools
import re
from .common import InfoExtractor
from ..networking import Request
from ..utils import (
int_or_none,
js_to_json,
orderedSet,
parse_duration,
sanitized_Request,
str_to_int,
url_or_none,
)
@ -186,7 +186,7 @@ class XTubeUserIE(InfoExtractor):
entries = []
for pagenum in itertools.count(1):
request = sanitized_Request(
request = Request(
'http://www.xtube.com/profile/%s/videos/%d' % (user_id, pagenum),
headers={
'Cookie': 'popunder=4',