Closed vgoklani closed 4 years ago
At least please provide the data of SQL in text format so it can properly tracked in git.
import pandas as pd
import sqlite3
db = sqlite3.connect(PATH_TO_DB_FILE, isolation_level=None)
newscatcher_package_df_from_sql = pd.read_sql('select * from rss_table', db)
These SQL things are just convoluted and hard to work with. I would like to just open the list of feeds and see what you have, but it takes like 20 steps to get inside...
Just use SQliteBrowser it as json / csv export options.
Alternatively, here's a 15 line script that converts the db to json in your browser:
Would it be possible to store the URLs in a compressed flat file? These SQL things are just convoluted and hard to work with. I would like to just open the list of feeds and see what you have, but it takes like 20 steps to get inside...