Smart Article Extractor avatar
Smart Article Extractor

Pricing

Pay per usage

Go to Store
Smart Article Extractor

Smart Article Extractor

lukaskrivka/article-extractor-smart

Developed by

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

103

Monthly users

280

Runs succeeded

>99%

Response time

36 days

Last modified

6 days 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.

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

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!

Pricing

Pricing model

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage.