First things first: Thank you, Fatality, for posting this. It is very useful and comes in handy!
For those on linux: CTRL+ ALT + T = open konsole [bin/bash] Or you may want to use the graphical user interface: synaptic or equivalent name to your distro and look for bs4. [commands are for debian/ubuntu based distro's. If you happen to run a different one, append the command to your distro]
- system wide install:
sudo apt install python3-bs4
2.create location to save: navigate to the right spot:
a. cd ~/path_to_your_desired_location
b. mkdir savespace
- add required information: open fatality's file:
use txt: kwrite, gedit, leafpad, or whatever *pad-software you have, or, use vim/nvim CLI: kwrite 'Fatality_GAW_User_Post&Comment_Scraper.py'
note: keep original, and cp ( copy) with a new name.
- running it:
python3 'Fatality_GAW_User_Post&Comment_Scraper.py'
- depending on where you save the .py file to execute [3] you will find that it saves the output right there in that directory, following the path you indicated @[2], which means, it is a relative path, not an absolute path, at least in the way I just showed.
Since it is a csv, it may be possible to import it into a database of your own making:
- Libreoffce/ openoffice=> d-base
- Kexi (Access replacement)
- mariadb/ mysql/ sqlite
csv-files are basically comma-delimited-text files. If you want to learn more, in Excel, or spreadsheet application: use import text, or text2columns. You'll see that you can use several delimiters: the usual: ", tab, komma, etc, but, you can also define your own, like a $ or any letter.
available:
Data&time; comment, link, topic, user posting the comment, etc.
Enjoy!
First things first: Thank you, Fatality, for posting this. It is very useful and comes in handy!
For those on linux: CTRL+ ALT + T = open konsole [bin/bash] Or you may want to use the graphical user interface: synaptic or equivalent name to your distro and look for bs4. [commands are for debian/ubuntu based distro's. If you happen to run a different one, append the command to your distro]
- system wide install:
sudo apt install python3-bs4
2.create location to save: navigate to the right spot:
a. cd ~/path_to_your_desired_location
b. mkdir savespace
- add required information:
use txt: kwrite, gedit, leafpad, or whatever *pad-software you have, or, use vim/nvim
- running it:
python3 'Fatality_GAW_User_Post&Comment_Scraper.py'
- depending on where you save the .py file to execute [3] you will find that it saves the output right there in that directory, following the path you indicated @[2], which means, it is a relative path, not an absolute path, at least in the way I just showed.
Since it is a csv, it may be possible to import it into a database of your own making:
- Libreoffce/ openoffice=> d-base
- Kexi (Access replacement)
- mariadb/ mysql/ sqlite
csv-files are basically comma-delimited-text files. If you want to learn more, in Excel, or spreadsheet application: use import text, or text2columns. You'll see that you can use several delimiters: the usual: ", tab, komma, etc, but, you can also define your own, like a $ or any letter.
available:
Data&time; comment, link, topic, user posting the comment, etc.
Enjoy!
First things first: Thank you, Fatality, for posting this. It is very useful and comes in handy!
For those on linux: CTRL+ ALT + T = open konsole [bin/bash] Or you may want to use the graphical user interface: synaptic or equivalent name to your distro. [commands are for debian/ubuntu based distro's. If you happen to run a different one, append the command to your distro]
- system wide install:
sudo apt install python3-bs4
2.create location to save: navigate to the right spot:
a. cd ~/path_to_your_desired_location
b. mkdir savespace
- add required information:
use txt: kwrite, gedit, leafpad, or whatever *pad-software you have, or, use vim/nvim
- running it:
python3 'Fatality_GAW_User_Post&Comment_Scraper.py'
- depending on where you save the .py file to execute [3] you will find that it saves the output right there in that directory, following the path you indicated @[2], which means, it is a relative path, not an absolute path, at least in the way I just showed.
Since it is a csv, it may be possible to import it into a database of your own making:
- Libreoffce/ openoffice=> d-base
- Kexi (Access replacement)
- mariadb/ mysql/ sqlite
csv-files are basically comma-delimited-text files. If you want to learn more, in Excel, or spreadsheet application: use import text, or text2columns. You'll see that you can use several delimiters: the usual: ", tab, komma, etc, but, you can also define your own, like a $ or any letter.
available:
Data&time; comment, link, topic, user posting the comment, etc.
Enjoy!
First things first: Thank you, Fatality, for posting this. It is very useful and comes in handy!
For those on linux:
- system wide install:
sudo apt install python3-bs4
2.create location to save: navigate to the right spot:
a. cd ~/path_to_your_desired_location
b. mkdir savespace
- add required information:
use txt: kwrite, gedit, leafpad, or whatever *pad-software you have, or, use vim/nvim
- running it:
python3 'Fatality_GAW_User_Post&Comment_Scraper.py'
- depending on where you save the .py file to execute [3] you will find that it saves the output right there in that directory, following the path you indicated @[2], which means, it is a relative path, not an absolute path, at least in the way I just showed.
Since it is a csv, it may be possible to import it into a database of your own making:
- Libreoffce/ openoffice=> d-base
- Kexi (Access replacement)
- mariadb/ mysql/ sqlite
csv-files are basically comma-delimited-text files. If you want to learn more, in Excel, or spreadsheet application: use import text, or text2columns. You'll see that you can use several delimiters: the usual: ", tab, komma, etc, but, you can also define your own, like a $ or any letter.
available:
Data&time; comment, link, topic, user posting the comment, etc.
Enjoy!