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