def _first_nego_xml(self, video_id: str) -> str:
payload = self._make_param_xml(self.glossary[video_id])
self.logger.debug("Attempting to first negotiation of %s", video_id)
self.logger.debug("This is the posting XML: %s", payload)
async with self.session.post(
url=self.glossary[video_id][KeyDmc.API_URL],
params={"_format": "xml"},
data=payload,
) as response: # type: aiohttp.ClientResponse
return await response.text()
评论列表
文章目录