You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Simple [Flask](https://github.com/pallets/flask)-inspired design - build a scraper with decorators.
71
71
- Uses [Playwright](https://playwright.dev/python/) API - run your scraper in Chrome, Firefox and Webkit and leverage Playwright's powerful selector engine supporting CSS, XPath, text, regex, etc.
72
-
- Data grouping - group related scraping data.
72
+
- Data grouping - group related results.
73
73
- URL pattern matching - run functions on specific URLs.
74
74
- Priority - reorder functions based on priority.
75
75
- Setup function - enable setup steps (clicking dialogs or login).
Copy file name to clipboardexpand all lines: docs/advanced/01_setup.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Setup handlers could perform any of the following:
7
7
2. Click on dialogs buttons
8
8
9
9
To create a Setup handler, you can pass `setup=True` parameter to `@select()` decorator.
10
-
The only difference with Setup and normal element handler is that setup functions should accept 2 parameters, the element matched by the selector and the Page object.
10
+
The only difference with Setup and normal element handler is that setup functions should accept 2 parameters, the element matched by the selector and the Page object (or WebDriver object in Selenium).
11
11
Click on the annotations (+ sign) for more details.
Copy file name to clipboardexpand all lines: docs/advanced/02_navigate.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
Navigate handlers are used to move from page to page.
4
4
5
5
To create a Navigate handler, you can pass `navigate=True` parameter to `@select()` decorator.
6
-
Like Setup handlers, Navigate handlers should accept 2 parameters, the element matched by the selector and the Page object.
6
+
Like Setup handlers, Navigate handlers should accept 2 parameters, the element matched by the selector and the Page object (or WebDriver object in Selenium).
7
7
Click on the annotations (+ sign) for more details.
Copy file name to clipboardexpand all lines: docs/features.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
- Simple [Flask](https://github.com/pallets/flask)-inspired design - build a scraper with decorators.
4
4
- Uses [Playwright](https://playwright.dev/python/) API - run your scraper in Chrome, Firefox and Webkit and leverage Playwright's powerful selector engine supporting CSS, XPath, text, regex, etc.
5
-
- Data grouping - group related scraping data.
5
+
- Data grouping - group related results.
6
6
- URL pattern matching - run functions on specific URLs.
7
7
- Priority - reorder functions based on priority.
8
8
- Setup function - enable setup steps (clicking dialogs or login).
0 commit comments