Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Python library of web-related functions

License

NotificationsYou must be signed in to change notification settings

scrapy/w3lib

Coverage report

Overview

This is a Python library of web-related functions, such as:

  • remove comments, or tags from HTML snippets
  • extract base url from HTML snippets
  • translate entites on HTML strings
  • convert raw HTTP headers to dicts and vice-versa
  • construct HTTP auth header
  • converting HTML pages to unicode
  • sanitize urls (like browsers do)
  • extract arguments from urls

Requirements

Python 3.9+

Install

pip install w3lib

Documentation

Seehttp://w3lib.readthedocs.org/

License

The w3lib library is licensed under the BSD license.


[8]ページ先頭

©2009-2025 Movatter.jp