Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Search: Allow extracting items from SERP results #78

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Gallaecio
Copy link
Contributor

"enumMeta": {
# TODO: Add a test to make sure this is in sync with the enum class above.
# TODO: Try automating the generation of this metadata from the enum type above.
SerpItemType.serp: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, that's an interesting idea. I was thinking that the default here would be None, which means "don't go to the results, output the links".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This made more sense to me when calling the field Item type, but we could call it something else, e.g. Extract from results. If you prefer the None approach, do you have some ideas in mind for the field name?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not too worried about the field name; "extract from results" makes sense, and even "item type" sound ok to me with None default. If you're looking for an alternative, something like "follow and extract"?

By the way, we should also add custom attributes extraction here :) It doesn't need to be in this PR, but we should eventually have it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants