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取得しました