mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 00:54:31 +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):
|
||||
while True:
|
||||
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 = []
|
||||
r = re.findall(r'(?<=data-video-id=)["\']?(?P<videoid>.*?)(?=["\'])', results)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user