ngscrape
v3.0.3: I make too many backward-incompatible changes
Newgrounds游戏刮板由BeautifulSoup4和Requestslib制成。
NGSCrape是根据GNU Affero通用公共许可证v3.0获得许可的。如果此文件未包含副本,则可以在https://www.gnu.org/licenses/agpl-3.0.en.html上找到一个副本。
请星星这很有用!
功能:
__init__(self, debug: bool = False, cache: bool = False, parser: str = 'html.parser') -> Nonescrape_game(url: str, download: str, filename: str) -> Nonehttps://www.newgrounds.com/portal/view/59593 。url = 'https://www.newgrounds.com/portal/view/59593'https://www.newgrounds.com/portal/view/59593提出请求并获得状态代码200https://uploads.ungrounded.net/59000/59593_alien_booya.swf?f1101313499scrape_desc(self, url: str) -> strhttps://www.newgrounds.com/portal/view/59593 。url = 'https://www.newgrounds.com/portal/view/59593'https://www.newgrounds.com/portal/view/59593提出请求并获得状态代码200scrape_card(self, url: str) -> strhttps://www.newgrounds.com/portal/view/59593 。url = 'https://www.newgrounds.com/portal/view/59593'https://www.newgrounds.com/portal/view/59593提出请求并获得状态代码200https://picon.ngfiles.com/59000/flash_59593_card.png?f1607717241scrape_title(self, url: str) -> strhttps://www.newgrounds.com/portal/view/59593 。url = 'https://www.newgrounds.com/portal/view/59593'https://www.newgrounds.com/portal/view/59593提出请求并获得状态代码200