Extract Data
Ease your daily-uses copy/paste. (as JSON, XLS or with textual format)
News
Results are resent even if they don't have changed (2023-04-17)
Add dynamic evaluation on options (2021-04-04)
Extract Data (1.7.0) has been released. (2021-04-02)
Use tab layout on option editor (2021-04-02)
Extract Data (1.6.1) has been released. (2021-03-20)
Some fixes (2021-03-20)
Some fixes #37 and releng (2021-03-18)
Some issues (2021-03-17)
Open tab on middle click (2021-03-17)
Extract with css selectors rather than XPath (2021-03-17)
Extract value of the meta tags (2021-03-17)
Extract multiple values (2021-03-17)
Change item menu doesn't work (2021-03-17)
Add an Edit button on rule popup (2021-03-17)
Extract value from input fields (2021-03-12)
Extract data from URL/Query Parameters (2020-11-20)
Extract Data (1.5.1) has been released. (2020-05-31)
Advanced editor for items (2020-05-31)
Extract Data (1.4.0) has been released. (2020-05-13)
Add compatibility with Opera (2020-05-13)
Extract Data (1.3.0) has been released. (2020-05-10)
Extract Data (1.2.0) has been released. (2020-05-10)
Extract Data (1.1.0) has been released. (2020-05-10)
Remove useless
Stored result were not updated on rule/item rename (2020-05-09)
Doesn't work directly on site url with '?' (2020-05-09)
Delete menu entries of deleted items/rules (2020-05-09)
Chrome and Edge compatibility (2020-05-09)
Avoid innerHTML in popup (2020-05-09)
Avoid empty rules appear on popup (2020-05-09)
Allow Regular expression matching (2020-05-09)
This extension allows to extract data on opened tabs and copy it to clipboard. (as JSON, XLS or with textual format)
By right clicking on an element and defining an extraction rule, each time you will visit the site again, the data will be automatically extracted and available for a copy to the clipboard.
How to use it
On a interesting element on a page, just Right-Click > Create a new rule
That’s all. If you look at the toolbar, the element is available by clicking on the addon icon.
Just click on one of the format appearing and it will be copied to the clipboard.
:thumbsup: If you visit again the site, it will be directly available here again.
You can add additional element:
It will be added to the toolbar:
:thumbsup: If the value within the site change, the value will be dynamically changed here too
Fine settings
You can Edit created rules.
Just click on Edit rules
in the toolbar or in the contextual menu. It opens a new dialog allowing finer tune.
From:
To:
You can do basic stuff:
- Edit rule and item names (F2 or Double Click)
- Delete rules and items (Delete key)
You can do better stuff:
- Use a Regular expression for Site
- Edit Expression (even if contextual menu
Change Item #XX
allows easier change) - Validate if your rules are working properly (see dedicated section)
Clipboard
When you click on the dedicated button, it will copy the result to the clipboard.
JSON format
If you click on JSON button
XLS format
If you click on XLS button, you can paste it to Excel with this format
RAW/Textual format
If you click on RAW button
Validate rules
Highlight elements
Anywhere on a page, just Right-click > Highlight
to identify which elements are already marked by a given rule.
Contextual indicators (Firefox only)
On a page, invalid items are displaying a warning aside.
Expression
XPath
You can use expression to retrieve one or many elements.
-
//h1
: returns all h1 elements. -
/element/@name
: returns the attributename
of the element. -
see XPath for more samples
CSS Selectors
You can use CSS Selectors rather than a complicated XPath expression.
-
h1
: returns all h1 elements. -
#id
: returns element with the givenid
attribute. -
see CSS Selectors for more samples
Predefined expressions
You can also use one of the predefined expressions below.
document.location
: https://developer.mozilla.org:8080/en-US/search?q=URL&r=10#search-results-close-containerdocument.location.protocol
: https:document.location.host
: developer.mozilla.org:8080document.location.hostname
: developer.mozilla.orgdocument.location.port
: 8080document.location.pathname
: /en-US/searchdocument.location.pathname.<number>
: 0: en-US, 1: searchdocument.location.origin
: https://developer.mozilla.org:8080document.location.search
: ?q=URL&r=10document.location.search.<variable>
: q: URL, r: 10document.location.hash
: #search-results-close-container
Validation indicators
Especially when a rule is covered by a Regular Expression
, selected items may not work on some matched pages.
The Green button
will list all opened tabs that are matched by the Site field.
By clicking on one of them, it will highlight elements on the page and indicates which items are not matched.
Advanced items editor
Items can be edited within an advanced editor:
Just edit your items using JSON format, switch back, items are created.