Skip to content

Add feature to change headers if needed#91

Open
itzmetanjim wants to merge 1 commit intoNv7-GitHub:masterfrom
itzmetanjim:master
Open

Add feature to change headers if needed#91
itzmetanjim wants to merge 1 commit intoNv7-GitHub:masterfrom
itzmetanjim:master

Conversation

@itzmetanjim
Copy link

Just a User-Agent might not be enough to convince google, so if you want, you can now add your own headers.

Just a User-Agent might not be enough to convince google, so if you want, you can now add your own headers.
Copy link
Owner

@Nv7-GitHub Nv7-GitHub left a comment

Choose a reason for hiding this comment

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

Why are some parts of the code that shouldn't be related removed? Other thank that it looks good!

description_box = result.find("div", {"style": "-webkit-line-clamp:2"})

if link and title and description_box:
link = result.find("a", href=True)
Copy link
Owner

Choose a reason for hiding this comment

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

Why did you remove this part?

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