Closed jackson-zhipeng-chang closed 6 years ago
Okay... I see the reason why you are doing this... You don't want to have url like google map or google image ... I'll think about this and try to accommodate my case like searching 'support.google.com'
Yeah, I’m sure there’s a more elegant way of doing it, TBH this library was born from a quick and dirty script I wrote for a specific task so I didn’t need to cover the case where the search results pointed to a Google domain.
Hi @MarioVilas ! Thanks for getting back! Do you want me to work on these kinds of cases, like pointing to Google domains but not include google map or image
@Zhipeng-Chang That would be awesome! :)
Hi @MarioVilas ! So, I found that you filtered the urls that contain "google", like 'image.google.com', I'm just wondering what's the reason for that? Since I need to search the domain of 'support.google.com' now, and It works pretty well after I removed the "if 'google' not in o.netloc". Thanks!