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

No option to search videos #320

Open
1 of 2 tasks
vaibhavsingh97 opened this issue Nov 8, 2017 · 28 comments · Fixed by #426
Open
1 of 2 tasks

No option to search videos #320

vaibhavsingh97 opened this issue Nov 8, 2017 · 28 comments · Fixed by #426

Comments

@vaibhavsingh97
Copy link
Member

vaibhavsingh97 commented Nov 8, 2017

With reference to #58

I'm submitting a ...

  • bug report
  • feature request

Current behavior:
There is no option to search videos in Search engines

Expected behavior:
There should be option to search videos

Open To claim

@vaibhavsingh97 vaibhavsingh97 self-assigned this Nov 8, 2017
@vaibhavsingh97 vaibhavsingh97 changed the title Google: No option to search images/videos No option to search videos Nov 8, 2017
@raju249
Copy link
Contributor

raju249 commented Dec 2, 2017

@vaibhavsingh97 ,

I can take this up if you are busy with something else 😄
let me know what you think ?

@vaibhavsingh97 vaibhavsingh97 removed their assignment Dec 31, 2017
@vaibhavsingh97
Copy link
Member Author

@raju249 Are you working on the issue?

@umangahuja1
Copy link
Contributor

Assign this issue to me since nobody is working as of now and I am willing to take this up. @vaibhavsingh97

@vaibhavsingh97
Copy link
Member Author

@umangahuja1 I can't assign the issue to you but you can work on this issue.
Thanks

@umangahuja1
Copy link
Contributor

Okay since you said to get assigned but I don't know how to do it. I am starting it then.

image

Just for confirmation, this feature intend to get these title and url from videos section?

Like https://www.icc-cricket.com/womens-world-cup/video/440702 for the first item.

@vaibhavsingh97
Copy link
Member Author

Yes @umangahuja1 So what we discussed in gitter to have one extra attribute type which contains url, image and video and based on the type and format. result will be displayed.

@umangahuja1
Copy link
Contributor

Great so for now I will start will google, but I think this will be done for all those search engines that offer images and videos.

So most probably all the changes will be made in their respective files (e.g for google google.py) and other functions will be added to scrape accordingly.

Is this what you are doing in image feature?

@bhaveshAn
Copy link
Member

@umangahuja1 Since this issue has been taken too long, without any progress, so please work on this a little quick, with regular update as this need regular discussions on the approach.

Also, I have fixed half of it. So if you aren't fully comfortable with the approach then let me make a pull on Video search in 3-4 days or so. and then you can switch to other file types like Image search etc (As the approach will be same for both the searches).
I think it would be better.

@umangahuja1
Copy link
Contributor

What have you done, if anything?
Because it's not a bug, it's a feature so there is nothing to be fixed I suppose.

Better to discuss in chat or wherever with others too if you have done something because I took it today itself. Switch to gitter.

@bhaveshAn
Copy link
Member

All I mean I am about to give the PR on this in 3-4 days. So please don't work on this.
@vaibhavsingh97 You can assign it to me as this is definitely not a beginners issue, advanced one as all the enhancement on all the supported search engines.
And @umangahuja1 Please start the project from some beginners issue. Or check if #321 is available as it is also not assigned.
Maybe you can take #368 #265

@vaibhavsingh97
Copy link
Member Author

@bhaveshAn IMO, i think @umangahuja1 should get a fair chance. Let him try. I know it's not an beginner issue but what's wrong in giving a chance. we can help him if he got stuck somewhere. It's good that you want to work on this issue but @umangahuja1 asked to claim first so h should get the fair chance. Thanks

@harshit98
Copy link
Member

@bhaveshAn @vaibhavsingh97 What's the matter?

@umangahuja1 Hi. You may please proceed to solve this issue and take your time. If you need any help, chat is the best way to communicate!

@umangahuja1
Copy link
Contributor

umangahuja1 commented Jan 3, 2018

Here is the screenshot of video feature

image

image

I will add front end and will send a PR soon.

This was referenced Jan 5, 2018
@Remorax
Copy link
Contributor

Remorax commented Jan 14, 2018

@vaibhavsingh97 @umangahuja1 @harshit98 Can I work on the other search engines? It would be better if the work is divided, right?

@umangahuja1
Copy link
Contributor

I think that will be a great idea. I am working on bing so you can choose any other. We can pace up things this way. But for that it would be better to merge the PR I sent since it will be used in all other engined.

What do you all say?

@Remorax
Copy link
Contributor

Remorax commented Jan 14, 2018

That's cool @umangahuja1 😄
I'll be making a PR within the next 2 days 😄

@umangahuja1
Copy link
Contributor

Wait let the google search PR get merged since it has front end part. Also generalised.py and one more file has some changes that will be used in all.

@bhaveshAn
Copy link
Member

bhaveshAn commented Jan 14, 2018 via email

@Remorax
Copy link
Contributor

Remorax commented Jan 14, 2018

Cool, I'll be working on Yahoo and DuckDuckGo.

@Remorax
Copy link
Contributor

Remorax commented Jan 14, 2018

@umangahuja1 Sure we'll wait for your PR to get merged, don't worry 😄 .
Okay @bhaveshAn ?

Remorax pushed a commit to Remorax/query-server that referenced this issue Jan 14, 2018
bhaveshAn pushed a commit that referenced this issue Jan 15, 2018
* video-search : google

* solve build error
@bhaveshAn bhaveshAn reopened this Jan 15, 2018
bhaveshAn pushed a commit that referenced this issue Jan 19, 2018
Removed unnecessary line from google scraper

Fixed Codacy and Travis errors

Fixed last Travis error

Removed unnecessary debug print statement

Squashed the commits
bhaveshAn added a commit to bhaveshAn/query-server that referenced this issue Jan 19, 2018
bhaveshAn added a commit to bhaveshAn/query-server that referenced this issue Jan 19, 2018
bhaveshAn added a commit to bhaveshAn/query-server that referenced this issue Jan 20, 2018
bhaveshAn added a commit to bhaveshAn/query-server that referenced this issue Jan 20, 2018
@Remorax
Copy link
Contributor

Remorax commented Jan 20, 2018

@bhaveshAn Let's divide the work. I'll be working on Mojeek, Ask and DuckDuckGo. Can you work on the rest? Thanks 😄

@bhaveshAn
Copy link
Member

Mojeek is not supporting Image/Video search check it out https://www.mojeek.co.uk/search?q=fossasia
I am working on Ask Video search as claimed previously #320 (comment)

You can proceed with Duckduckgo

@Remorax
Copy link
Contributor

Remorax commented Jan 20, 2018

@bhaveshAn you had claimed Baidu and Ask but you made PRs for Parsijoo and Bing 😛
I was actually in the middle of working on Bing, so idk what to say to that. But yeah, I'll work on DuckDuckGo then.

@bhaveshAn
Copy link
Member

Yeah, earlier, I had claimed Ask and Baidu, and you claimed Yahoo (For which made the PR) and Duckudckgo, but there was no discussion on Parsijoo and Bing, thats why I made the PR, suddenly, since no one here claimed rest out of Ask, Baidu Yahoo, DuckDuckGo

@Remorax
Copy link
Contributor

Remorax commented Jan 20, 2018

That's true but you should probably have worked on Baidu and Ask first and then work on Bing and Parsijoo after asking others and making sure no one else is working on it. Peace 😄

bhaveshAn added a commit to bhaveshAn/query-server that referenced this issue Jan 20, 2018
bhaveshAn added a commit to bhaveshAn/query-server that referenced this issue Jan 20, 2018
bhaveshAn added a commit to bhaveshAn/query-server that referenced this issue Jan 20, 2018
bhaveshAn added a commit to bhaveshAn/query-server that referenced this issue Jan 20, 2018
@bhaveshAn
Copy link
Member

@Remorax Would you like to take up Baidu ??
Then I would like to work on DuckDuckGo.

@bhaveshAn
Copy link
Member

@Remorax reminder

@Remorax
Copy link
Contributor

Remorax commented Jan 25, 2018

Oh, yeah sure @bhaveshAn work on DuckDuckGo and I'll work on Baidu 😄
And if anyone wants to work on any search engine, please post here and confirm whether somebody else is working on it or not, so as to not waste anybody's time. Thanks 😄

mariobehling pushed a commit that referenced this issue Jan 26, 2018
* Addresses #320 and #321 Add Image/Video search support for Bing

* Add staticmethod decorator

* Add staticmethod decorator

* Add staticmethod decorator

* Add staticmethod decorator

* Added tests

* Added tests

* Added tests

* Added tests

* Added tests
mariobehling pushed a commit that referenced this issue Jan 29, 2018
* Addresses #320 and #321 Add Image/Video search support for Parsijoo

* Add staticmethod decorator

* Add staticmethod decorator

* Add staticmethod decorator

* Add staticmethod decorator

* Add staticmethod decorator

* Add staticmethod decorator

* Add staticmethod decorator

* Add staticmethod decorator

* Add staticmethod decorator

* Add staticmethod decorator

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

Successfully merging a pull request may close this issue.

6 participants