Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wisehackermonkey/website-to-note
simple python app that giving a url from the clipboard scrapes a web page for its title and returns a useful information for use in docs, notetaking apps, etc.
https://github.com/wisehackermonkey/website-to-note
Last synced: 1 day ago
JSON representation
simple python app that giving a url from the clipboard scrapes a web page for its title and returns a useful information for use in docs, notetaking apps, etc.
- Host: GitHub
- URL: https://github.com/wisehackermonkey/website-to-note
- Owner: wisehackermonkey
- License: mit
- Created: 2020-04-21T01:14:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T22:43:31.000Z (over 1 year ago)
- Last Synced: 2024-11-10T12:44:13.502Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 26.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# website-to-note
### simple python app that giving a url from the clipboard scrapes a web page for its title and returns a useful information for use in docs, notetaking apps, etc.
```
by oran collins
github.com/wisehackermonkey
[email protected]
20200420
```## how to install (development only)
```
git clone https://github.com/wisehackermonkey/website-to-note.git
cd website-to-note
pip install -r requirements.txt
```## run
```
```## build exe for windows
```
pip install pyinstaller
pyinstaller --noconsole --specpath ${PWD}/build --distpath ${PWD}/build/dist --workpath ${PWD}/build/build --onefile website-to-note.py
```## advance (powershell) build exe for windows (auto zip for releases)
```
pyinstaller --noconsole --specpath ${PWD}/build --distpath ${PWD}/windows_builds --workpath ${PWD}/build/build --onefile website-to-note.py; $date = Get-Date -Format "yyyyMMdd"; Compress-Archive -force -Path ${PWD}/windows_builds/website-to-note.exe -DestinationPath ${PWD}/windows_builds/website-to-note_windows_${date}.zip
```## todo
- ~~TODO add vaildators package~~
- add tts say not valid url## links
validators - validators 0.11.2 documentation
https://validators.readthedocs.io/en/latest/#
20200420Python - How to validate a url in python ? (Malformed or not) - Stack Overflow
https://stackoverflow.com/questions/7160737/python-how-to-validate-a-url-in-python-malformed-or-not
20200420html - How can I retrieve the page title of a webpage using Python? - Stack Overflow
https://stackoverflow.com/questions/51233/how-can-i-retrieve-the-page-title-of-a-webpage-using-python
20200420