Website Content Crawler avatar
Website Content Crawler

Pricing

Pay per usage

Go to Store
Website Content Crawler

Website Content Crawler

apify/website-content-crawler

Developed by

Apify

Maintained by Apify

Crawl websites and extract text content to feed AI models, LLM applications, vector databases, or RAG pipelines. The Actor supports rich formatting using Markdown, cleans the HTML, downloads files, and integrates well with 🦜🔗 LangChain, LlamaIndex, and the wider LLM ecosystem.

4.6 (38)

Pricing

Pay per usage

1.1k

Monthly users

5.9k

Runs succeeded

>99%

Response time

2.3 days

Last modified

6 days ago

CT

Add Full File Name to the Key-Value-Stores

Open
CtrlAltElite opened this issue
9 days ago

When running "apfy/website-content-crawler" with option: "saveFiles: true" PowerSchool would like to request that you add the full file name to your "key-value-stores". Currently the "key" is sort of like the full file name but not quite. What we're looking for is the full name along with the full URL of the file itself. The "key" in the key-value store is NOT the file's real name, it's similar but different, for one thing, it places a random 7 character string in front of the name, secondly, it html-encodes the file name AND strips off the '%' which effectively replaces things like spaces in the name (which would be "%20") with just a "20" so it is really difficult if not impossible to reconstitute the files real name. It is nearly impossible to know if a "20" represents a "%20" vs a number 20 like in year 2020, or 2021 etc.. Here is an example response from "https://api.apify.com/v2/key-value-stores/{{storeId}}/keys?token=apify_api_xxxx" { "key": "4c55c60-3-D20Curriculum202021.pdf", "size": 300429 }, Here is the full file name in the CSV Extract: https://www.dvsd.org/cms/lib/PA01001022/Centricity/Domain/1111/3-D%20Curriculum%202021.pdf

We'd like to ask if you could add the full file name to the key-value-stores

janbuchar avatar

Hello and thank you for your interest in Website Content Crawler! Unfortunately, it is not possible to keep the original file name in the key value store key. However, you should be able to find them in the dataset. Apart from entries for each page, there should also be an entry for each downloaded file. The title attribute of the metadata object will contain the original filename.

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.