Simplified Data Extraction And Analysis For Current Events With Newspaper

The Python Podcast.__init__

Episode | Podcast

Date: Mon, 14 Sep 2020 21:00:00 -0400

<div class="wp-block-jetpack-markdown"><h3>Summary</h3> <p>News media is an important source of information for understanding the context of the world. To make it easier to access and process the contents of news sites Lucas Ou-Yang built the Newspaper library that aids in automatic retrieval of articles and prepare it for analysis. In this episode he shares how the project got started, how it is implemented, and how you can get started with it today. He also discusses how recent improvements in the utility and ease of use of deep learning libraries open new possibilities for future iterations of the project.</p> <h3>Announcements</h3> <ul> <li>Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.</li> <li>When you&#8217;re ready to launch your next app or want to try a project you hear about on the show, you&#8217;ll need somewhere to deploy it, so take a look at our friends over at Linode. With the launch of their managed Kubernetes platform it&#8217;s easy to get started with the next generation of deployment and scaling, powered by the battle tested Linode platform, including simple pricing, node balancers, 40Gbit networking, dedicated CPU and GPU instances, and worldwide data centers. Go to <a href="https://www.pythonpodcast.com/linode?utm_source=rss&amp;utm_medium=rss">pythonpodcast.com/linode</a> and get a $60 credit to try out a Kubernetes cluster of your own. And don&#8217;t forget to thank them for their continued support of this show!</li> <li>This portion of Python Podcast is brought to you by Datadog. Do you have an app in production that is slower than you like? Is its performance all over the place (sometimes fast, sometimes slow)? Do you know why? With Datadog, you will. You can troubleshoot your app&#8217;s performance with Datadog&#8217;s end-to-end tracing and in one click correlate those Python traces with related logs and metrics. Use their detailed flame graphs to identify bottlenecks and latency in that app of yours. Start tracking the performance of your apps with a free trial at <a href="https://www.pythonpocast.com/datadog?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">pythonpodcast.com/datadog</a>. If you sign up for a trial and install the agent, Datadog will send you a free t-shirt.</li> <li>You listen to this show to learn and stay up to date with the ways that Python is being used, including the latest in machine learning and data analysis. For more opportunities to stay up to date, gain new skills, and learn from your peers there are a growing number of virtual events that you can attend from the comfort and safety of your home. Go to <a href="https://www.pythonpodcast.com/conferences?utm_source=rss&amp;utm_medium=rss">pythonpodcast.com/conferences</a> to check out the upcoming events being offered by our partners and get registered today!</li> <li>Your host as usual is Tobias Macey and today I&#8217;m interviewing Lucas Ou-Yang about Newspaper, a framework for easily extracting and processing online articles.</li> </ul> <h3>Interview</h3> <ul> <li>Introductions</li> <li>How did you get introduced to Python?</li> <li>Can you start by describing what the Newspaper project is and your motivations for creating it?</li> <li>What are the main use cases that Newspaper is built for? <ul> <li>What are some libraries or tools that Newspaper might replace?</li> </ul> </li> <li>What are the common structures in news sites that allow you to abstract across them for content extraction? <ul> <li>What are some ways of determining whether a site will be a good candidate for using with Newspaper?</li> </ul> </li> <li>Can you talk through the developer workflow of someone using Newspaper? <ul> <li>What are some of the other libraries or tools that are commonly used alongside Newspaper?</li> </ul> </li> <li>How is Newspaper implemented? <ul> <li>How has the design of he project evolved since you first began working on it?</li> <li>What are some of the most complex or challenging aspects of building an automated article extraction tool?</li> </ul> </li> <li>What are some of the most interesting, unexpected, or innovative projects that you have seen built with Newspaper?</li> <li>What keeps you interested in the ongoing support and maintenance of the project?</li> <li>What do you have planned for the future of Newspaper?</li> </ul> <h3>Keep In Touch</h3> <ul> <li><a href="https://www.linkedin.com/in/lucasouyang/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">LinkedIn</a></li> <li><a href="https://twitter.com/LucasOuYang?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">@LucasOuYang</a> on Twitter</li> <li><a href="https://codelucas.com/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Website</a></li> <li><a href="https://github.com/codelucas?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">codelucas</a> on GitHub</li> </ul> <h3>Picks</h3> <ul> <li>Tobias <ul> <li><a href="https://www.marketplace.org/shows/million-bazillion/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Million Bazillion</a> Podcast</li> </ul> </li> <li>Lucas <ul> <li><a href="https://www.amazon.com/gp/product/0596006624?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Hackers and Painters</a>: Big Ideas from the Computer Age by Paul Graham</li> </ul> </li> </ul> <h3>Closing Announcements</h3> <ul> <li>Thank you for listening! Don&#8217;t forget to check out our other show, the <a href="https://feeds.fireside.fm/pythonpodcast/rss">Data Engineering Podcast</a> for the latest on modern data management.</li> <li>Visit the <a href="https://www.pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">site</a> to subscribe to the show, sign up for the mailing list, and read the show notes.</li> <li>If you&#8217;ve learned something or tried out a project from the show then tell us about it! Email <a href="mailto:hosts@podcastinit.com">hosts@podcastinit.com</a>) with your story.</li> <li>To help other people find the show please leave a review on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&amp;uo=6&amp;at=&amp;ct=&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">iTunes</a> and tell your friends and co-workers</li> <li>Join the community in the new Zulip chat workspace at <a href="https://www.pythonpodcast.com/chat?utm_source=rss&amp;utm_medium=rss">pythonpodcast.com/chat</a></li> </ul> <h3>Links</h3> <ul> <li><a href="https://newspaper.readthedocs.io/en/latest/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Newspaper</a></li> <li><a href="https://en.wikipedia.org/wiki/Los_Angeles?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Los Angeles</a></li> <li><a href="https://www.reddit.com/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Reddit</a></li> <li><a href="https://www.djangoproject.com/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Django</a></li> <li><a href="https://en.wikipedia.org/wiki/Natural_language_processing?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">NLP == Natural Language Processing</a></li> <li><a href="https://en.wikipedia.org/wiki/Web_scraping?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Web Scraping</a> <ul> <li><a href="https://www.pythonpodcast.com/web-scraping-essentials-episode-278/?utm_source=rss&amp;utm_medium=rss">Podcast Episode</a></li> </ul> </li> <li><a href="https://requests.readthedocs.io/en/master/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Requests</a></li> <li><a href="http://www.wintria.com/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Wintria</a></li> <li><a href="https://goose3.readthedocs.io/en/latest/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Python Goose</a></li> <li><a href="https://www.diffbot.com/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Diffbot</a></li> <li><a href="https://en.wikipedia.org/wiki/Heuristic?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Heuristics</a></li> <li><a href="https://en.wikipedia.org/wiki/Stop_word?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Stop Words</a></li> <li><a href="https://en.wikipedia.org/wiki/RSS?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">RSS</a></li> <li><a href="https://spacy.io/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">SpaCy</a> <ul> <li><a href="https://www.pythonpodcast.com/episode-87-spacy-with-matthew-honnibal/?utm_source=rss&amp;utm_medium=rss">Podcast Episode</a></li> </ul> </li> <li><a href="https://radimrehurek.com/gensim/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Gensim</a> <ul> <li><a href="https://www.pythonpodcast.com/episode-71-gensim-with-radim-rehurek/?utm_source=rss&amp;utm_medium=rss">Podcast Episode</a></li> </ul> </li> <li><a href="https://pytorch.org/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">PyTorch</a> <ul> <li><a href="https://www.pythonpodcast.com/pytorch-deep-learning-epsiode-202/?utm_source=rss&amp;utm_medium=rss">Podcast Episode</a></li> </ul> </li> <li><a href="https://www.nltk.org/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">NLTK</a></li> <li><a href="https://lxml.de/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">LXML</a></li> <li><a href="https://www.crummy.com/software/BeautifulSoup/bs4/doc/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Beautiful Soup</a></li> </ul> <p>The intro and outro music is from Requiem for a Fish <a href="http://freemusicarchive.org/music/The_Freak_Fandango_Orchestra/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">The Freak Fandango Orchestra</a> / <a href="http://creativecommons.org/licenses/by-sa/3.0/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">CC BY-SA</a></p> </div> <img alt="" height="0" src="https://analytics.boundlessnotions.com/piwik.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fwww.pythonpodcast.com%2Fnewspaper-data-extraction-episode-280%2F&amp;action_name=Simplified+Data+Extraction+And+Analysis+For+Current+Events+With+Newspaper+-+Episode+280&amp;urlref=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeed%2F&amp;utm_source=rss&amp;utm_medium=rss" style="border: 0; width: 0; height: 0;" width="0" />