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

Add extraction of meta_site_name #630

Merged
merged 1 commit into from
Oct 28, 2018
Merged

Conversation

pgrzesik
Copy link
Contributor

@pgrzesik pgrzesik commented Oct 10, 2018

Hello,
we found out that very often it's useful to extract not only source_url, but also site_name (from Open Graph protocol). While this is available from meta_data, we thought that it might be convinent to have it as a property on the article itself and following PR adds that functionality.

Regards,
Piotr

"""

NON_MEDIA_CLASSES = ('zn-body__read-all', )
Copy link
Owner

Choose a reason for hiding this comment

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

I merged your other commit, can you rebase so these changes don't show?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure thing - changed!

@pgrzesik pgrzesik force-pushed the master branch 2 times, most recently from cf5382f to db9877f Compare October 26, 2018 19:09
Copy link
Owner

@codelucas codelucas left a comment

Choose a reason for hiding this comment

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

Great work 💯 👍

@codelucas codelucas requested a review from yprez October 28, 2018 20:25
@codelucas codelucas merged commit c8a0455 into codelucas:master Oct 28, 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.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy