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

video-search : google #426

Merged
merged 4 commits into from
Jan 15, 2018
Merged

video-search : google #426

merged 4 commits into from
Jan 15, 2018

Conversation

umangahuja1
Copy link
Contributor

Fixes #320

Checklist

  • I have read the Contribution & Best practices Guide and my PR follows them.
  • My branch is up-to-date with the Upstream master branch.
  • I have added necessary documentation (if appropriate)

Changes proposed in this pull request:

  • Ongoing : Video feature for other search engines.
  • Scope for UI improvement.

Copy link
Member

@abishekvashok abishekvashok left a comment

Choose a reason for hiding this comment

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

Can you provide a live link for testing pls?

response = requests.get(self.url, headers=self.headers, params=payload)
print(response.url)
Copy link
Member

Choose a reason for hiding this comment

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

Should we do this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well that was during testing. I forgot to remove it 😅
I don't know about live link. Can you tell me more?

Copy link
Member

Choose a reason for hiding this comment

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

@umangahuja1 Deploy it on heroku and share the link here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not able to deploy. It is asking for card details. Though I have deployed my apps for free earlier.

@vaibhavsingh97
Copy link
Member

@umangahuja1 Good Job 🎉
Now take your time and update your PR with support of other search engines.

@realslimshanky
Copy link
Member

@vaibhavsingh97 we can also do it one search engine at a time.

@Remorax
Copy link
Contributor

Remorax commented Jan 14, 2018

Can you please share a link to test, or screenshots at least? Thank you 😄

@umangahuja1
Copy link
Contributor Author

I have sent one in issues. If you want I can send another of the query you wish.

@bhaveshAn
Copy link
Member

bhaveshAn commented Jan 14, 2018 via email

@umangahuja1
Copy link
Contributor Author

I don't know why but heroku is asking for card details. It has never happened before. Can anybody brief about it?

@bhaveshAn
Copy link
Member

bhaveshAn commented Jan 14, 2018 via email

@umangahuja1
Copy link
Contributor Author

No just 2 of them. And it's due to the mongodb add-on.

@bhaveshAn
Copy link
Member

bhaveshAn commented Jan 14, 2018 via email

@umangahuja1
Copy link
Contributor Author

If that's the case I can rebase the branch and it will do the job.

@bhaveshAn
Copy link
Member

Are you able to create the app?
Or tell in which command you are having problems. then Share heroku logs

@bhaveshAn
Copy link
Member

bhaveshAn commented Jan 14, 2018

Also, since now we have divided the Issue. So please write Addresses #<ISSUE_NO> instead of Fixes #<ISSUE_NO> in the PR description.

And same in the PR Ttitle as well. Follow best practices.

@umangahuja1
Copy link
Contributor Author

Here is the link to the deployed app : https://my-query-server.herokuapp.com/
Only google video search is added.

Copy link
Member

@bhaveshAn bhaveshAn left a comment

Choose a reason for hiding this comment

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

Good work 👍

@codecov
Copy link

codecov bot commented Jan 15, 2018

Codecov Report

Merging #426 into master will increase coverage by 0.27%.
The diff coverage is 76.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #426      +/-   ##
==========================================
+ Coverage   46.98%   47.26%   +0.27%     
==========================================
  Files          17       17              
  Lines         398      402       +4     
==========================================
+ Hits          187      190       +3     
- Misses        211      212       +1
Impacted Files Coverage Δ
app/server.py 0% <0%> (ø) ⬆️
app/scrapers/generalized.py 77.5% <100%> (+1.18%) ⬆️
app/scrapers/google.py 100% <100%> (ø) ⬆️
app/scrapers/__init__.py 70.83% <66.66%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c3aa71d...8e2f45b. Read the comment docs.

Copy link
Member

@ParthS007 ParthS007 left a comment

Choose a reason for hiding this comment

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

LGTM !

@bhaveshAn bhaveshAn merged commit fac4abf into fossasia:master Jan 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No option to search videos
7 participants