crawlee icon indicating copy to clipboard operation
crawlee copied to clipboard

Minimize public interface of Crawlee components

Open janbuchar opened this issue 5 months ago • 2 comments

  • Crawlee currently exposes a big part of its internals
  • This makes refactoring without breaking changes difficult
  • We should make as many things as possible private (protected doesn't help - we still need to maintain BC for subclasses)

janbuchar avatar Jul 29 '25 09:07 janbuchar

It would be helpful to have a table with aliases and usage examples for properties analogous to external APIs like exposeBinding, exposeFunction, evaluateOnNewDocument, etc. Sometimes standard properties are unavailable, and it’s not always clear how to work around the wrapper’s limitations. For example, injectFile can bypass CORS restrictions, but it would be great if it could also inject scripts into iframes.

monolithed avatar Aug 24 '25 15:08 monolithed

@monolithed I don't think this is very relevant to the issue described here. Can you elaborate in a separate issue, please?

janbuchar avatar Aug 25 '25 12:08 janbuchar