Beispiel #1
0
 def magnet_info(self, magnet: str) -> List[PcsMagnetFile]:
     info = self._baidupcs.magnet_info(magnet)
     return [PcsMagnetFile.from_(v) for v in info["magnet_info"]]
Beispiel #2
0
    def magnet_info(self, magnet: str) -> List[PcsMagnetFile]:
        """Get the magnet information"""

        info = self._baidupcs.magnet_info(magnet)
        return [PcsMagnetFile.from_(v) for v in info["magnet_info"]]