def jUpdateShowsDatabase(cShowsURL): res = str(bs(requests.get(cShowsURL).text,'html.parser')) if (res): jHelpers.jWriteToFile(res, cShowsUpdateDataDestination) return 'Successfully updated shows database' else: return 'Error-Shows-01'
def jUpdateCurrencyDatabase(cCurrencyURL): res = str(bs(requests.get(cCurrencyURL).text,'html.parser')) if (res): jHelpers.jWriteToFile(res, cCurrencyUpdateDataDestination) return 'Successfully updated currency database' else: return 'Error-Currency-01'