Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codewizard13/ehw-app-scrape-onetab-links
Scrape OneTab links and produce HTML that can be saved for backup
https://github.com/codewizard13/ehw-app-scrape-onetab-links
Last synced: 4 months ago
JSON representation
Scrape OneTab links and produce HTML that can be saved for backup
- Host: GitHub
- URL: https://github.com/codewizard13/ehw-app-scrape-onetab-links
- Owner: codewizard13
- Created: 2022-02-12T22:54:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-02T12:23:40.000Z (9 months ago)
- Last Synced: 2024-08-01T08:38:39.736Z (7 months ago)
- Language: JavaScript
- Size: 977 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
| INFO PROPERTY | VALUE |
| ------------- | -------------------------------------- |
| Program Name | **App: Scrape OneTab Links** |
| File Name | README.md |
| Date Created | 02/27/18 |
| Date Modified | 01/19/23 |
| Version | 0.2.2 |
| Programmer | **Eric Hepperle** |### TECHNOLOGIES
## TAGS
`JavaScript` `ES6` `Web Scraping` `OneTab` `Bookmarks` `DOM Navigation` `Parse local file` `Hyperlinks` `Anchor Tags`
## Purpose
Parse links and information from OneTab. Displays categories in console. Uses vanilla JavaScript ES6.

## Usage
1. Open OneTab page in a browser and copy-paste the code in `scraper.js` into the console and run it (press Enter).
2. To save/archive the links results use code inspector in browser to grab the "body" tag and contents, then paste that into a new document and save it.## Requires
* Browser opened to a YouTube video with developer console exposed.
## NOTES & CAVEATS
* _**_This README is in-progress and under construction._**_
* Can't inject jQuery anymore due to "Content Security Policy", so this version use vanilla JavaScript ES6.## FUTURE
Future plans include:
- [ ] Make searchable via JavaScript `match()` or `RegExp()`
- [ ] Consider pros/cons of async/await
- [ ] Write results to .htm file and auto execute in new browser tab
- [ ] Save file as CSV
- [ ] Make remote (Puppeteer? Cheerio?) so copy-paste not required
### Materials/References#### Online:
- https://www.youtube.com/watch?v=lgyszZhAZOI
- https://www.youtube.com/watch?v=S67gyqnYHmI#### Local Files:
- ehCode_2016.05.25_javascript_csvFromAllLinksOnPage_02.js.txt
- [ref/](./ref/)