quickdriver


Namequickdriver JSON
Version 1.0.0 PyPI version JSON
download
home_pageNone
SummaryA wrapper for Selenium WebDriver that simplifies browser automation.
upload_time2025-02-22 13:20:42
maintainerNone
docs_urlNone
authornishizawatakamasa
requires_python>=3.8
licenseNone
keywords selenium
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # quickdriver

## Overview - 概要
quickdriver is a wrapper for Selenium. It simplifies browser automation, web scraping, data saving, and other tasks by providing an easy-to-use interface to WebDriver.

quickdriverはSeleniumのラッパーです。QuickDriverを介してWebDriverを操作することで、ブラウザの自動操作、スクレイピング、データ保存などの処理を簡単に実装できます。


## Installation - インストール
You can install quickdriver and all the libraries needed to run it using pip: 

quickdriverとその実行に必要な全てのライブラリは以下のコマンドでインストールできます。  

`pip install quickdriver`


## Requirements - 必要条件
To run quickdriver, you need the following environment:

quickdriverの実行には、以下の環境が必要です。

* Python 3.8 or higher
* Libraries:
    * pandas (version 2.2.3 or higher)
    * selenium (version 4.27.1 or higher)
    * tqdm (version 4.67.1 or higher)
    * pyarrow (version 16.1.0 or higher)


## Usage Example - 使用例
```py
from selenium import webdriver as wd
from quickdriver import QuickDriver

options = wd.ChromeOptions()
options.add_argument('--incognito') # secret mode
# options.add_argument('--headless=new') # headless mode
options.add_argument('--start-maximized') # maximize a window
options.add_experimental_option('prefs', {'profile.managed_default_content_settings.images': 2}) # Image loading disabled
# options.add_argument(r'--user-data-dir=C:\Users\xxxx\AppData\Local\Google\Chrome\User Data') # User profile destination path
# options.add_argument('--profile-directory=Profile xx') # User profile directory name

with wd.Chrome(options=options) as driver:   
    d = QuickDriver(driver)
    
    @d.crawl
    def prefectures():
        return [d.attr('href', e) for e in d.ss('li.item > ul > li > a')]
        
    @d.crawl
    def each_classroom():
        return [d.attr('href', e) for e in d.ss('.school-area h4 a')]
    
    @d.crawl
    def scrape_classroom_info():
        d.save_row('./classroom_info', {
            'URL': driver.current_url,
            '教室名': d.attr('textContent', d.s('h1 .text01')),
            '住所': d.attr('innerText', d.s('.item .mapText')),
            '電話番号': d.attr('textContent', d.s('.item .phoneNumber')),
            'HP': d.attr('href', d.s('a', d.next_sib(d.s_re(th, 'ホームページ')))),
        })
    
    scrape_classroom_info(each_classroom(prefectures(['https://www.foobarbaz1.jp'])))
```

## Basic Usage - 基本的な使い方
### QuickDriver Class
The quickdriver module consists of a single class: QuickDriver. This class wraps a Selenium WebDriver instance, providing convenient methods for interacting with web pages.

quickdriverモジュールは、QuickDriverクラス1つによって構成されています。QuickDriverクラスは、WebDriverのインスタンスを受け取ってSeleniumの処理をラップします。
```py
d = QuickDriver(driver)
```

### Methods
The QuickDriver class provides the following instance methods:

QuickDriverクラスは、以下のインスタンスメソッドによって構成されています。

#### 1. ss
Get multiple web elements as a list using a CSS selector. Returns an empty list if no elements are found. If a WebElement is passed as the second argument, the search is performed within that element's DOM subtree.

セレクタで複数のWeb要素をリストで取得します。存在しない場合は空のリストを返します。第二引数にWeb要素を渡すと、その要素のDOMサブセットからの取得となります。
```py
elems = d.ss('li.item > ul > li > a')
```
#### 2. s
Get a single web element using a CSS selector. If more than one element satisfies the condition, only the first one is returned. Returns None if no element is found. If a WebElement is passed as the second argument, the search is performed within that element's DOM subtree.

セレクタでWeb要素を取得します。条件を満たす要素が複数ある場合、最初の一つだけが返されます。存在しない場合はNoneを返します。第二引数にWeb要素を渡すと、その要素のDOMサブセットからの取得となります。
```py
elem = d.s('h1 .text01')
```
#### 3. ss_re
Get multiple web elements as a list using a CSS selector and a regular expression to match the element's textContent. Returns an empty list if no elements are found. If a WebElement is passed as the third argument, the search is performed within that element's DOM subtree.

セレクタと、textContentに対する正規表現マッチングで複数のWeb要素をリストで取得します。存在しない場合は空のリストを返します。第三引数にWeb要素を渡すと、その要素のDOMサブセットからの取得となります。
```py
elems = d.ss_re('li.item > ul > li > a', r'店\s*舗')
```
#### 4. s_re
Get a single web element using a CSS selector and a regular expression to match the element's textContent. If more than one element satisfies the condition, only the first one is returned. Returns None if no element is found. If a WebElement is passed as the third argument, the search is performed within that element's DOM subtree.

セレクタと、textContentに対する正規表現マッチングでWeb要素を取得します。条件を満たす要素が複数ある場合、最初の一つだけが返されます。存在しない場合はNoneを返します。第三引数にWeb要素を渡すと、その要素のDOMサブセットからの取得となります。
```py
elem = d.s_re('table tbody tr th', r'住\s*所')
```
#### 5. attr
Get the value of an attribute from a web element.

Web要素から任意の属性値を取得します。
```py
text = d.attr('textContent', elem)
```
#### 6. parent
Get the parent element of a web element.

渡されたWeb要素の親要素を取得します。
```py
parent_elem = d.parent(elem)
```
#### 7. prev_sib
Get the previous sibling element of a web element.

渡されたWeb要素の兄要素を取得します。
```py
prev_elem = d.prev_sib(elem)
```
#### 8. next_sib
Get the next sibling element of a web element.

渡されたWeb要素の弟要素を取得します。
```py
next_elem = d.next_sib(elem)
```
#### 9. add_class
Add a class to the specified web elements. This can be useful for targeting elements that are difficult to select using CSS selectors alone.

Web要素にクラスを追加して目印にします。これにより、Web要素のあらゆる取得条件をセレクタで表現できるようになります。
```py
d.add_class(elems, 'mark-001')
```
#### 10. go_to
Navigate to the specified URL.

指定したURLに遷移します。
```py
d.go_to('https://foobarbaz1.com')
```
#### 11. click
Trigger the click event on a web element. If a new tab is opened, switches to the new tab (disabled with tab_switch=False).

指定したWeb要素のclickイベントを発生させます。クリック時に新しいタブが開かれた場合は、そのタブに遷移します (tab_switch=False で無効化)。
```py
d.click(elem)
```
#### 12. switch_to
Switch the driver's focus to the specified iframe element.

指定したiframe要素内に制御を移します。
```py
d.switch_to(iframe_elem)
```
#### 13. scroll_to_view
Scroll the page to bring the specified web element into view.

指定したWeb要素をスクロールして表示します。
```py
d.scroll_to_view(elem)
```
#### 14. save_row
Add a row to a table (creates the table if it doesn't exist) and save it as a Parquet file. The table name is determined by the provided path.

パス形式の名前で指定したテーブルデータ(無い場合は作成されます)に行を追加し、Parquetファイルとして保存します (拡張子の記述は不要)。
```py
d.save_row('./scrape/foo', {
    '列名1': text01,
    '列名2': text02,
    '列名3': text03,
})
```
#### 15. progress
Display a progress bar for a function that iterates over a list of URLs.

urlリストの各ページに対して処理を行っていく関数の進捗状況を表示します。
```py
for page_url in d.progress(page_urls, func):
    d.go_to(page_url)
    func()
```
#### 16. crawl
Decorator. Modifies the decorated function to accept a list of URLs as input. The function will be executed for each URL, and if the function returns a list of URLs, those URLs will be added to the list of URLs to crawl.

デコレータ。付与された関数は、URL文字列のリストを引数として受け取るようになります。URLリストを渡すと、そのURLに順番にアクセスしていき、各ページに対して関数の処理を実行するようになります。関数の処理がURL文字列のリストを返す場合、最終的な戻り値はそれら全てを結合したリストとなります。
```py
@d.crawl
def foo():
    # 略
```

## License - ライセンス
[MIT](./LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "quickdriver",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "selenium",
    "author": "nishizawatakamasa",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/6d/2a/2fba1792f209af6f8226152b521993acadd091941da99e4efeb1e1437a12/quickdriver-1.0.0.tar.gz",
    "platform": null,
    "description": "# quickdriver\n\n## Overview - \u6982\u8981\nquickdriver is a wrapper for Selenium. It simplifies browser automation, web scraping, data saving, and other tasks by providing an easy-to-use interface to WebDriver.\n\nquickdriver\u306fSelenium\u306e\u30e9\u30c3\u30d1\u30fc\u3067\u3059\u3002QuickDriver\u3092\u4ecb\u3057\u3066WebDriver\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u3067\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u81ea\u52d5\u64cd\u4f5c\u3001\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3001\u30c7\u30fc\u30bf\u4fdd\u5b58\u306a\u3069\u306e\u51e6\u7406\u3092\u7c21\u5358\u306b\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002\n\n\n## Installation - \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\nYou can install quickdriver and all the libraries needed to run it using pip: \n\nquickdriver\u3068\u305d\u306e\u5b9f\u884c\u306b\u5fc5\u8981\u306a\u5168\u3066\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002  \n\n`pip install quickdriver`\n\n\n## Requirements - \u5fc5\u8981\u6761\u4ef6\nTo run quickdriver, you need the following environment:\n\nquickdriver\u306e\u5b9f\u884c\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u74b0\u5883\u304c\u5fc5\u8981\u3067\u3059\u3002\n\n* Python 3.8 or higher\n* Libraries:\n    * pandas (version 2.2.3 or higher)\n    * selenium (version 4.27.1 or higher)\n    * tqdm (version 4.67.1 or higher)\n    * pyarrow (version 16.1.0 or higher)\n\n\n## Usage Example - \u4f7f\u7528\u4f8b\n```py\nfrom selenium import webdriver as wd\nfrom quickdriver import QuickDriver\n\noptions = wd.ChromeOptions()\noptions.add_argument('--incognito') # secret mode\n# options.add_argument('--headless=new') # headless mode\noptions.add_argument('--start-maximized') # maximize a window\noptions.add_experimental_option('prefs', {'profile.managed_default_content_settings.images': 2}) # Image loading disabled\n# options.add_argument(r'--user-data-dir=C:\\Users\\xxxx\\AppData\\Local\\Google\\Chrome\\User Data') # User profile destination path\n# options.add_argument('--profile-directory=Profile xx') # User profile directory name\n\nwith wd.Chrome(options=options) as driver:   \n    d = QuickDriver(driver)\n    \n    @d.crawl\n    def prefectures():\n        return [d.attr('href', e) for e in d.ss('li.item > ul > li > a')]\n        \n    @d.crawl\n    def each_classroom():\n        return [d.attr('href', e) for e in d.ss('.school-area h4 a')]\n    \n    @d.crawl\n    def scrape_classroom_info():\n        d.save_row('./classroom_info', {\n            'URL': driver.current_url,\n            '\u6559\u5ba4\u540d': d.attr('textContent', d.s('h1 .text01')),\n            '\u4f4f\u6240': d.attr('innerText', d.s('.item .mapText')),\n            '\u96fb\u8a71\u756a\u53f7': d.attr('textContent', d.s('.item .phoneNumber')),\n            'HP': d.attr('href', d.s('a', d.next_sib(d.s_re(th, '\u30db\u30fc\u30e0\u30da\u30fc\u30b8')))),\n        })\n    \n    scrape_classroom_info(each_classroom(prefectures(['https://www.foobarbaz1.jp'])))\n```\n\n## Basic Usage - \u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\n### QuickDriver Class\nThe quickdriver module consists of a single class: QuickDriver. This class wraps a Selenium WebDriver instance, providing convenient methods for interacting with web pages.\n\nquickdriver\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001QuickDriver\u30af\u30e9\u30b91\u3064\u306b\u3088\u3063\u3066\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002QuickDriver\u30af\u30e9\u30b9\u306f\u3001WebDriver\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u53d7\u3051\u53d6\u3063\u3066Selenium\u306e\u51e6\u7406\u3092\u30e9\u30c3\u30d7\u3057\u307e\u3059\u3002\n```py\nd = QuickDriver(driver)\n```\n\n### Methods\nThe QuickDriver class provides the following instance methods:\n\nQuickDriver\u30af\u30e9\u30b9\u306f\u3001\u4ee5\u4e0b\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u306b\u3088\u3063\u3066\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n\n#### 1. ss\nGet multiple web elements as a list using a CSS selector. Returns an empty list if no elements are found. If a WebElement is passed as the second argument, the search is performed within that element's DOM subtree.\n\n\u30bb\u30ec\u30af\u30bf\u3067\u8907\u6570\u306eWeb\u8981\u7d20\u3092\u30ea\u30b9\u30c8\u3067\u53d6\u5f97\u3057\u307e\u3059\u3002\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u7a7a\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002\u7b2c\u4e8c\u5f15\u6570\u306bWeb\u8981\u7d20\u3092\u6e21\u3059\u3068\u3001\u305d\u306e\u8981\u7d20\u306eDOM\u30b5\u30d6\u30bb\u30c3\u30c8\u304b\u3089\u306e\u53d6\u5f97\u3068\u306a\u308a\u307e\u3059\u3002\n```py\nelems = d.ss('li.item > ul > li > a')\n```\n#### 2. s\nGet a single web element using a CSS selector. If more than one element satisfies the condition, only the first one is returned. Returns None if no element is found. If a WebElement is passed as the second argument, the search is performed within that element's DOM subtree.\n\n\u30bb\u30ec\u30af\u30bf\u3067Web\u8981\u7d20\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u6761\u4ef6\u3092\u6e80\u305f\u3059\u8981\u7d20\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u3001\u6700\u521d\u306e\u4e00\u3064\u3060\u3051\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306fNone\u3092\u8fd4\u3057\u307e\u3059\u3002\u7b2c\u4e8c\u5f15\u6570\u306bWeb\u8981\u7d20\u3092\u6e21\u3059\u3068\u3001\u305d\u306e\u8981\u7d20\u306eDOM\u30b5\u30d6\u30bb\u30c3\u30c8\u304b\u3089\u306e\u53d6\u5f97\u3068\u306a\u308a\u307e\u3059\u3002\n```py\nelem = d.s('h1 .text01')\n```\n#### 3. ss_re\nGet multiple web elements as a list using a CSS selector and a regular expression to match the element's textContent. Returns an empty list if no elements are found. If a WebElement is passed as the third argument, the search is performed within that element's DOM subtree.\n\n\u30bb\u30ec\u30af\u30bf\u3068\u3001textContent\u306b\u5bfe\u3059\u308b\u6b63\u898f\u8868\u73fe\u30de\u30c3\u30c1\u30f3\u30b0\u3067\u8907\u6570\u306eWeb\u8981\u7d20\u3092\u30ea\u30b9\u30c8\u3067\u53d6\u5f97\u3057\u307e\u3059\u3002\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u7a7a\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002\u7b2c\u4e09\u5f15\u6570\u306bWeb\u8981\u7d20\u3092\u6e21\u3059\u3068\u3001\u305d\u306e\u8981\u7d20\u306eDOM\u30b5\u30d6\u30bb\u30c3\u30c8\u304b\u3089\u306e\u53d6\u5f97\u3068\u306a\u308a\u307e\u3059\u3002\n```py\nelems = d.ss_re('li.item > ul > li > a', r'\u5e97\\s*\u8217')\n```\n#### 4. s_re\nGet a single web element using a CSS selector and a regular expression to match the element's textContent. If more than one element satisfies the condition, only the first one is returned. Returns None if no element is found. If a WebElement is passed as the third argument, the search is performed within that element's DOM subtree.\n\n\u30bb\u30ec\u30af\u30bf\u3068\u3001textContent\u306b\u5bfe\u3059\u308b\u6b63\u898f\u8868\u73fe\u30de\u30c3\u30c1\u30f3\u30b0\u3067Web\u8981\u7d20\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u6761\u4ef6\u3092\u6e80\u305f\u3059\u8981\u7d20\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u3001\u6700\u521d\u306e\u4e00\u3064\u3060\u3051\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306fNone\u3092\u8fd4\u3057\u307e\u3059\u3002\u7b2c\u4e09\u5f15\u6570\u306bWeb\u8981\u7d20\u3092\u6e21\u3059\u3068\u3001\u305d\u306e\u8981\u7d20\u306eDOM\u30b5\u30d6\u30bb\u30c3\u30c8\u304b\u3089\u306e\u53d6\u5f97\u3068\u306a\u308a\u307e\u3059\u3002\n```py\nelem = d.s_re('table tbody tr th', r'\u4f4f\\s*\u6240')\n```\n#### 5. attr\nGet the value of an attribute from a web element.\n\nWeb\u8981\u7d20\u304b\u3089\u4efb\u610f\u306e\u5c5e\u6027\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n```py\ntext = d.attr('textContent', elem)\n```\n#### 6. parent\nGet the parent element of a web element.\n\n\u6e21\u3055\u308c\u305fWeb\u8981\u7d20\u306e\u89aa\u8981\u7d20\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n```py\nparent_elem = d.parent(elem)\n```\n#### 7. prev_sib\nGet the previous sibling element of a web element.\n\n\u6e21\u3055\u308c\u305fWeb\u8981\u7d20\u306e\u5144\u8981\u7d20\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n```py\nprev_elem = d.prev_sib(elem)\n```\n#### 8. next_sib\nGet the next sibling element of a web element.\n\n\u6e21\u3055\u308c\u305fWeb\u8981\u7d20\u306e\u5f1f\u8981\u7d20\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n```py\nnext_elem = d.next_sib(elem)\n```\n#### 9. add_class\nAdd a class to the specified web elements. This can be useful for targeting elements that are difficult to select using CSS selectors alone.\n\nWeb\u8981\u7d20\u306b\u30af\u30e9\u30b9\u3092\u8ffd\u52a0\u3057\u3066\u76ee\u5370\u306b\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001Web\u8981\u7d20\u306e\u3042\u3089\u3086\u308b\u53d6\u5f97\u6761\u4ef6\u3092\u30bb\u30ec\u30af\u30bf\u3067\u8868\u73fe\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\n```py\nd.add_class(elems, 'mark-001')\n```\n#### 10. go_to\nNavigate to the specified URL.\n\n\u6307\u5b9a\u3057\u305fURL\u306b\u9077\u79fb\u3057\u307e\u3059\u3002\n```py\nd.go_to('https://foobarbaz1.com')\n```\n#### 11. click\nTrigger the click event on a web element. If a new tab is opened, switches to the new tab (disabled with tab_switch=False).\n\n\u6307\u5b9a\u3057\u305fWeb\u8981\u7d20\u306eclick\u30a4\u30d9\u30f3\u30c8\u3092\u767a\u751f\u3055\u305b\u307e\u3059\u3002\u30af\u30ea\u30c3\u30af\u6642\u306b\u65b0\u3057\u3044\u30bf\u30d6\u304c\u958b\u304b\u308c\u305f\u5834\u5408\u306f\u3001\u305d\u306e\u30bf\u30d6\u306b\u9077\u79fb\u3057\u307e\u3059 (tab_switch=False \u3067\u7121\u52b9\u5316)\u3002\n```py\nd.click(elem)\n```\n#### 12. switch_to\nSwitch the driver's focus to the specified iframe element.\n\n\u6307\u5b9a\u3057\u305fiframe\u8981\u7d20\u5185\u306b\u5236\u5fa1\u3092\u79fb\u3057\u307e\u3059\u3002\n```py\nd.switch_to(iframe_elem)\n```\n#### 13. scroll_to_view\nScroll the page to bring the specified web element into view.\n\n\u6307\u5b9a\u3057\u305fWeb\u8981\u7d20\u3092\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u8868\u793a\u3057\u307e\u3059\u3002\n```py\nd.scroll_to_view(elem)\n```\n#### 14. save_row\nAdd a row to a table (creates the table if it doesn't exist) and save it as a Parquet file. The table name is determined by the provided path.\n\n\u30d1\u30b9\u5f62\u5f0f\u306e\u540d\u524d\u3067\u6307\u5b9a\u3057\u305f\u30c6\u30fc\u30d6\u30eb\u30c7\u30fc\u30bf(\u7121\u3044\u5834\u5408\u306f\u4f5c\u6210\u3055\u308c\u307e\u3059)\u306b\u884c\u3092\u8ffd\u52a0\u3057\u3001Parquet\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059 (\u62e1\u5f35\u5b50\u306e\u8a18\u8ff0\u306f\u4e0d\u8981)\u3002\n```py\nd.save_row('./scrape/foo', {\n    '\u5217\u540d1': text01,\n    '\u5217\u540d2': text02,\n    '\u5217\u540d3': text03,\n})\n```\n#### 15. progress\nDisplay a progress bar for a function that iterates over a list of URLs.\n\nurl\u30ea\u30b9\u30c8\u306e\u5404\u30da\u30fc\u30b8\u306b\u5bfe\u3057\u3066\u51e6\u7406\u3092\u884c\u3063\u3066\u3044\u304f\u95a2\u6570\u306e\u9032\u6357\u72b6\u6cc1\u3092\u8868\u793a\u3057\u307e\u3059\u3002\n```py\nfor page_url in d.progress(page_urls, func):\n    d.go_to(page_url)\n    func()\n```\n#### 16. crawl\nDecorator. Modifies the decorated function to accept a list of URLs as input. The function will be executed for each URL, and if the function returns a list of URLs, those URLs will be added to the list of URLs to crawl.\n\n\u30c7\u30b3\u30ec\u30fc\u30bf\u3002\u4ed8\u4e0e\u3055\u308c\u305f\u95a2\u6570\u306f\u3001URL\u6587\u5b57\u5217\u306e\u30ea\u30b9\u30c8\u3092\u5f15\u6570\u3068\u3057\u3066\u53d7\u3051\u53d6\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002URL\u30ea\u30b9\u30c8\u3092\u6e21\u3059\u3068\u3001\u305d\u306eURL\u306b\u9806\u756a\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u304d\u3001\u5404\u30da\u30fc\u30b8\u306b\u5bfe\u3057\u3066\u95a2\u6570\u306e\u51e6\u7406\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u95a2\u6570\u306e\u51e6\u7406\u304cURL\u6587\u5b57\u5217\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3059\u5834\u5408\u3001\u6700\u7d42\u7684\u306a\u623b\u308a\u5024\u306f\u305d\u308c\u3089\u5168\u3066\u3092\u7d50\u5408\u3057\u305f\u30ea\u30b9\u30c8\u3068\u306a\u308a\u307e\u3059\u3002\n```py\n@d.crawl\ndef foo():\n    # \u7565\n```\n\n## License - \u30e9\u30a4\u30bb\u30f3\u30b9\n[MIT](./LICENSE)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A wrapper for Selenium WebDriver that simplifies browser automation.",
    "version": "1.0.0",
    "project_urls": {
        "repository": "https://github.com/nishizawatakamasa/quickdriver"
    },
    "split_keywords": [
        "selenium"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "56f4ad90cb22b99156fd5ff0cc365701bc5d603f70346ccf13e57bca0ea4d20a",
                "md5": "d08bdfc9d7bcdd94958b723dd6e65d20",
                "sha256": "a2c9070981c2d092ed96f3bbb03e816c0afcc59b1c06522535e5ba850c5d98b4"
            },
            "downloads": -1,
            "filename": "quickdriver-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d08bdfc9d7bcdd94958b723dd6e65d20",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 7293,
            "upload_time": "2025-02-22T13:20:40",
            "upload_time_iso_8601": "2025-02-22T13:20:40.243612Z",
            "url": "https://files.pythonhosted.org/packages/56/f4/ad90cb22b99156fd5ff0cc365701bc5d603f70346ccf13e57bca0ea4d20a/quickdriver-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6d2a2fba1792f209af6f8226152b521993acadd091941da99e4efeb1e1437a12",
                "md5": "74e08cc68f9bc03681506fc7f830fe55",
                "sha256": "e20bf40bfa9fef21a8f3d54b7dd0bc6ac605104e240e1834e0b86820d8d0bd8d"
            },
            "downloads": -1,
            "filename": "quickdriver-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "74e08cc68f9bc03681506fc7f830fe55",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 7315,
            "upload_time": "2025-02-22T13:20:42",
            "upload_time_iso_8601": "2025-02-22T13:20:42.714395Z",
            "url": "https://files.pythonhosted.org/packages/6d/2a/2fba1792f209af6f8226152b521993acadd091941da99e4efeb1e1437a12/quickdriver-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-22 13:20:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nishizawatakamasa",
    "github_project": "quickdriver",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "quickdriver"
}
        
Elapsed time: 0.58501s