mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 18:34:32 +01:00
Added query argument
This commit is contained in:
parent
ef212dc2fe
commit
335f037e80
@ -506,7 +506,7 @@ class NicovideoIE(SearchInfoExtractor):
|
|||||||
def _get_entries_for_date(self, url, query, date, pageNumber=1):
|
def _get_entries_for_date(self, url, query, date, pageNumber=1):
|
||||||
while True:
|
while True:
|
||||||
link = url + "?page=" + str(pageNumber) + "&start=" + str(date) + "&end=" + str(date)
|
link = url + "?page=" + str(pageNumber) + "&start=" + str(date) + "&end=" + str(date)
|
||||||
results = self._download_webpage(link, "None", note='Extracting results from page %s for date %s' % (pageNumber, date))
|
results = self._download_webpage(link, "None", query={"Search_key": query}, note='Extracting results from page %s for date %s' % (pageNumber, date))
|
||||||
entries = []
|
entries = []
|
||||||
r = re.findall(r'(?<=data-video-id=)["\']?(?P<videoid>.*?)(?=["\'])', results)
|
r = re.findall(r'(?<=data-video-id=)["\']?(?P<videoid>.*?)(?=["\'])', results)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user