FB Marketplace crawler

This commit is contained in:
Shariar Imtiaz 2024-02-01 13:33:24 +04:00
parent d82e3afb49
commit 2b0800dd46
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ class FbMarketplaceProducts:
df['Price'] = df['Price'].str.replace(',', '')
df['Price'] = pd.to_numeric(df['Price'], errors='coerce')
df['Price'] = df['Price'].fillna(0)
df['Price'] = df['Price'].astype(int)
filename = 'facebook_crawler_tracker' + str(datetime.now().strftime('%Y%m%d%H%M%S')) + ".csv"