ngscrape
v3.0.3: I make too many backward-incompatible changes
BeautifulSoup4와 RequestSlib로 만든 Newgrounds 게임 스크레이퍼.
NGSCRAPE는 GNU Affero General Public License 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 에 요청하고 상태 코드 200 에 요청했습니다.https://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 에 요청하고 상태 코드 200 에 요청했습니다.scrape_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 에 요청하고 상태 코드 200 에 요청했습니다.https://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 에 요청했습니다.