0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Python】urllib.parseのurlparse()関数

Posted at

urllib.parseのurlparse()関数を使うと、urlをスキームやパスなどの要素に分解できます。

主な属性は以下です。

【scheme】
httpやhttpsなどのURLスキーム

【path】
パスの階層

【query】
?以降のクエリ文字

【fragment】
#以降のフラグメント識別子

【hosname】
ホスト名

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?