Smart Article Extractor avatar
Smart Article Extractor

Pricing

Pay per usage

Go to Store
Smart Article Extractor

Smart Article Extractor

Developed by

Lukáš Křivka

Lukáš Křivka

Maintained by Apify

📰 Smart Article Extractor extracts articles from any scientific, academic, or news website with just one click. The extractor crawls the whole website and automatically distinguishes articles from other web pages. Download your data as HTML table, JSON, Excel, RSS feed, and more.

4.7 (6)

Pricing

Pay per usage

124

Total users

5.1K

Monthly users

383

Runs succeeded

>99%

Issues response

7.7 days

Last modified

2 months ago

JR

Date to Timestamp?

Closed

japan_ravel opened this issue
a year ago

I am using this actor to feed into pinecone and would like an easy way to add a unix epoch timestamp instead of the text string date (to do pre-filtering before using the data for a RAG implementation). Is there an easy way to convert the date field to timestamp or add a new field when I use the pinecone integration feature? Many thanks!

lukaskrivka avatar

Hello,

Thanks for the suggestion. Actually, you can paste this code to the "Extend Output Function" and then use the unixDate field while keeping the original date as it was.

($, item) => {
item.unixDate = new Date(item.date).getTime()
return item
}

If we get more requests like this, we would add a transformation to the Pinecone integration.

JR

japan_ravel

a year ago

Thanks so much!