{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "# !pip3 install newspaper3k\n", "# !pip3 install gnews\n", "# !pip install plotly" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "{'title': \"Tesla Stock Went Down Again for a New Reason. Here's Where It's Going. - Barron's\", 'description': \"Tesla Stock Went Down Again for a New Reason. Here's Where It's Going. Barron's\", 'published date': 'Fri, 18 Aug 2023 21:17:00 GMT', 'url': 'https://news.google.com/rss/articles/CBMiSGh0dHBzOi8vd3d3LmJhcnJvbnMuY29tL2FydGljbGVzL3Rlc2xhLXN0b2NrLWRvd24tY2hpbmEtc3VwcG9ydC02NTgzMmQ3ZNIBTGh0dHBzOi8vd3d3LmJhcnJvbnMuY29tL2FtcC9hcnRpY2xlcy90ZXNsYS1zdG9jay1kb3duLWNoaW5hLXN1cHBvcnQtNjU4MzJkN2Q?oc=5&hl=en-US&gl=US&ceid=US:en', 'publisher': {'href': 'https://www.barrons.com', 'title': \"Barron's\"}}\n" ] } ], "source": [ "from gnews import GNews\n", "\n", "google_news = GNews(max_results=10)\n", "tesla_news = google_news.get_news('TSLA')\n", "print(tesla_news[0])" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "08/20/2023 02:10:56 PM - Article `download()` failed with 403 Client Error: Forbidden for url: https://www.barrons.com/articles/tesla-stock-down-china-support-65832d7d on URL https://news.google.com/rss/articles/CBMiSGh0dHBzOi8vd3d3LmJhcnJvbnMuY29tL2FydGljbGVzL3Rlc2xhLXN0b2NrLWRvd24tY2hpbmEtc3VwcG9ydC02NTgzMmQ3ZNIBTGh0dHBzOi8vd3d3LmJhcnJvbnMuY29tL2FtcC9hcnRpY2xlcy90ZXNsYS1zdG9jay1kb3duLWNoaW5hLXN1cHBvcnQtNjU4MzJkN2Q?oc=5&hl=en-US&gl=US&ceid=US:en\n" ] } ], "source": [ "import newspaper\n", "google_news.get_full_article(tesla_news[0]['url'])" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "[{'title': \"Tesla Stock Went Down Again for a New Reason. Here's Where It's Going. - Barron's\",\n", " 'description': \"Tesla Stock Went Down Again for a New Reason. Here's Where It's Going. Barron's\",\n", " 'published date': 'Fri, 18 Aug 2023 21:17:00 GMT',\n", " 'url': 'https://news.google.com/rss/articles/CBMiSGh0dHBzOi8vd3d3LmJhcnJvbnMuY29tL2FydGljbGVzL3Rlc2xhLXN0b2NrLWRvd24tY2hpbmEtc3VwcG9ydC02NTgzMmQ3ZNIBTGh0dHBzOi8vd3d3LmJhcnJvbnMuY29tL2FtcC9hcnRpY2xlcy90ZXNsYS1zdG9jay1kb3duLWNoaW5hLXN1cHBvcnQtNjU4MzJkN2Q?oc=5&hl=en-US&gl=US&ceid=US:en',\n", " 'publisher': {'href': 'https://www.barrons.com', 'title': \"Barron's\"}},\n", " {'title': \"Tesla (NASDAQ:TSLA): What's Next for This Buzzing Reddit Stock? - TipRanks.com - TipRanks\",\n", " 'description': \"Tesla (NASDAQ:TSLA): What's Next for This Buzzing Reddit Stock? - TipRanks.com TipRanks\",\n", " 'published date': 'Fri, 18 Aug 2023 17:22:12 GMT',\n", " 'url': 'https://news.google.com/rss/articles/CBMiX2h0dHBzOi8vd3d3LnRpcHJhbmtzLmNvbS9uZXdzL2FydGljbGUvdGVzbGEtbmFzZGFxdHNsYS13aGF0cy1uZXh0LWZvci10aGlzLWJ1enppbmctcmVkZGl0LXN0b2Nr0gEA?oc=5&hl=en-US&gl=US&ceid=US:en',\n", " 'publisher': {'href': 'https://www.tipranks.com', 'title': 'TipRanks'}},\n", " {'title': 'TSLA Stock Forecast: 3 Reasons Tesla Is a Losing Bet Through 2024 - InvestorPlace',\n", " 'description': 'TSLA Stock Forecast: 3 Reasons Tesla Is a Losing Bet Through 2024 InvestorPlace',\n", " 'published date': 'Thu, 17 Aug 2023 10:13:38 GMT',\n", " 'url': 'https://news.google.com/rss/articles/CBMiY2h0dHBzOi8vaW52ZXN0b3JwbGFjZS5jb20vMjAyMy8wOC90c2xhLXN0b2NrLWZvcmVjYXN0LTMtcmVhc29ucy10ZXNsYS1pcy1hLWxvc2luZy1iZXQtdGhyb3VnaC0yMDI0L9IBAA?oc=5&hl=en-US&gl=US&ceid=US:en',\n", " 'publisher': {'href': 'https://investorplace.com',\n", " 'title': 'InvestorPlace'}},\n", " {'title': 'Tesla continues waging price war; VinFast makes U.S. debut: This week in EVs - Yahoo Finance',\n", " 'description': 'Tesla continues waging price war; VinFast makes U.S. debut: This week in EVs Yahoo Finance',\n", " 'published date': 'Sun, 20 Aug 2023 06:15:00 GMT',\n", " 'url': 'https://news.google.com/rss/articles/CBMiTmh0dHBzOi8vZmluYW5jZS55YWhvby5jb20vbmV3cy90ZXNsYS1jb250aW51ZXMtd2FnaW5nLXByaWNlLXdhci0wNjE1MDc5MDguaHRtbNIBVmh0dHBzOi8vZmluYW5jZS55YWhvby5jb20vYW1waHRtbC9uZXdzL3Rlc2xhLWNvbnRpbnVlcy13YWdpbmctcHJpY2Utd2FyLTA2MTUwNzkwOC5odG1s?oc=5&hl=en-US&gl=US&ceid=US:en',\n", " 'publisher': {'href': 'https://finance.yahoo.com',\n", " 'title': 'Yahoo Finance'}},\n", " {'title': 'Tesla stock falls 3%, on to longest losing run since December - MarketWatch',\n", " 'description': 'Tesla stock falls 3%, on to longest losing run since December MarketWatch',\n", " 'published date': 'Fri, 18 Aug 2023 15:34:00 GMT',\n", " 'url': 'https://news.google.com/rss/articles/CBMiZmh0dHBzOi8vd3d3Lm1hcmtldHdhdGNoLmNvbS9zdG9yeS90ZXNsYS1zdG9jay1mYWxscy0zLW9uLXRvLWxvbmdlc3QtbG9zaW5nLXJ1bi1zaW5jZS1kZWNlbWJlci1mNWVkMjkxN9IBamh0dHBzOi8vd3d3Lm1hcmtldHdhdGNoLmNvbS9hbXAvc3RvcnkvdGVzbGEtc3RvY2stZmFsbHMtMy1vbi10by1sb25nZXN0LWxvc2luZy1ydW4tc2luY2UtZGVjZW1iZXItZjVlZDI5MTc?oc=5&hl=en-US&gl=US&ceid=US:en',\n", " 'publisher': {'href': 'https://www.marketwatch.com',\n", " 'title': 'MarketWatch'}},\n", " {'title': 'Good News for Tesla Investors. Bad News for Tesla Stock. - The Motley Fool',\n", " 'description': 'Good News for Tesla Investors. Bad News for Tesla Stock. The Motley Fool',\n", " 'published date': 'Sat, 19 Aug 2023 14:30:00 GMT',\n", " 'url': 'https://news.google.com/rss/articles/CBMiXWh0dHBzOi8vd3d3LmZvb2wuY29tL2ludmVzdGluZy8yMDIzLzA4LzE5L2dvb2QtbmV3cy1mb3ItdGVzbGEtaW52ZXN0b3JzLWJhZC1uZXdzLWZvci10ZXNsYS1zL9IBAA?oc=5&hl=en-US&gl=US&ceid=US:en',\n", " 'publisher': {'href': 'https://www.fool.com', 'title': 'The Motley Fool'}},\n", " {'title': 'Tesla Revamped Model 3 Mass Output in China May Start Next Month - Bloomberg',\n", " 'description': 'Tesla Revamped Model 3 Mass Output in China May Start Next Month Bloomberg',\n", " 'published date': 'Thu, 17 Aug 2023 09:52:24 GMT',\n", " 'url': 'https://news.google.com/rss/articles/CBMic2h0dHBzOi8vd3d3LmJsb29tYmVyZy5jb20vbmV3cy9hcnRpY2xlcy8yMDIzLTA4LTE3L3Rlc2xhLXJldmFtcGVkLW1vZGVsLTMtbWFzcy1vdXRwdXQtaW4tY2hpbmEtbWF5LXN0YXJ0LW5leHQtbW9udGjSAQA?oc=5&hl=en-US&gl=US&ceid=US:en',\n", " 'publisher': {'href': 'https://www.bloomberg.com', 'title': 'Bloomberg'}},\n", " {'title': \"What's Going On With Tesla Stock Today? - Tesla (NASDAQ:TSLA) - Benzinga\",\n", " 'description': \"What's Going On With Tesla Stock Today? - Tesla (NASDAQ:TSLA) Benzinga\",\n", " 'published date': 'Fri, 18 Aug 2023 16:02:37 GMT',\n", " 'url': 'https://news.google.com/rss/articles/CBMiUmh0dHBzOi8vd3d3LmJlbnppbmdhLmNvbS9uZXdzLzIzLzA4LzMzOTE3ODU3L3doYXRzLWdvaW5nLW9uLXdpdGgtdGVzbGEtc3RvY2stdG9kYXnSAS1odHRwczovL3d3dy5iZW56aW5nYS5jb20vYW1wL2NvbnRlbnQvMzM5MTc4NTc?oc=5&hl=en-US&gl=US&ceid=US:en',\n", " 'publisher': {'href': 'https://www.benzinga.com', 'title': 'Benzinga'}},\n", " {'title': 'Tesla Needs A Narrative Change (NASDAQ:TSLA) - Seeking Alpha',\n", " 'description': 'Tesla Needs A Narrative Change (NASDAQ:TSLA) Seeking Alpha',\n", " 'published date': 'Thu, 17 Aug 2023 11:00:00 GMT',\n", " 'url': 'https://news.google.com/rss/articles/CBMiR2h0dHBzOi8vc2Vla2luZ2FscGhhLmNvbS9hcnRpY2xlLzQ2MjkwODctdGVzbGEtbmVlZHMtYS1uYXJyYXRpdmUtY2hhbmdl0gEA?oc=5&hl=en-US&gl=US&ceid=US:en',\n", " 'publisher': {'href': 'https://seekingalpha.com', 'title': 'Seeking Alpha'}},\n", " {'title': 'Is Tesla (TSLA) a Hidden Gem? A Deep Dive into its Valuation and Financial Health - GuruFocus.com',\n", " 'description': 'Is Tesla (TSLA) a Hidden Gem? A Deep Dive into its Valuation and Financial Health GuruFocus.com',\n", " 'published date': 'Fri, 18 Aug 2023 16:06:35 GMT',\n", " 'url': 'https://news.google.com/rss/articles/CBMidWh0dHBzOi8vd3d3Lmd1cnVmb2N1cy5jb20vbmV3cy8yMDY4MTc3L2lzLXRlc2xhLXRzbGEtYS1oaWRkZW4tZ2VtLWEtZGVlcC1kaXZlLWludG8taXRzLXZhbHVhdGlvbi1hbmQtZmluYW5jaWFsLWhlYWx0aNIBAA?oc=5&hl=en-US&gl=US&ceid=US:en',\n", " 'publisher': {'href': 'https://www.gurufocus.com',\n", " 'title': 'GuruFocus.com'}}]" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "tesla_news" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "https://www.barrons.com/articles/tesla-stock-down-china-support-65832d7d\n" ] } ], "source": [ "import requests\n", "r = requests.head(tesla_news[0]['url'], allow_redirects=True)\n", "print(r.url)" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'Tesla Stock Went Down Again for a New Reason. Here’s Where It’s Going.\\n\\nShares of EV leader Tesla have taken a beating for the past couple of weeks, for reasons related both to the company and to what is happening in financial markets.\\n\\nFrom To Message\\n\\nSEND\\n\\nAn error has occurred, please try again later.'" ] }, "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from newspaper import Article\n", "from newspaper import Config\n", "\n", "user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36'\n", "\n", "config = Config()\n", "config.browser_user_agent = user_agent\n", "\n", "url = r.url\n", "\n", "article = Article(url, config=config)\n", "article.download()\n", "article.html\n", "article.parse()\n", "article.text" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [], "source": [ "def get_news_articles_info(ticker_name):\n", " google_news = GNews(max_results=10)\n", " ticker_news = google_news.get_news(ticker_name)\n", " ticker_news_extracted = []\n", " count = 0\n", " for details in ticker_news:\n", " details['text'] = ''\n", " try:\n", " url = details['url']\n", " url = requests.head(url, allow_redirects=True).url\n", " print(url)\n", " \n", " user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36'\n", " config = Config()\n", " config.browser_user_agent = user_agent\n", "\n", " article = Article(url, config=config)\n", " article.download()\n", " article.parse()\n", " details['text'] = article.text\n", " details['url'] = url\n", " count = count + 1\n", " print(count,url)\n", " except:\n", " print(\"Error\",url)\n", " continue\n", " if details['text'] == '':\n", " print('No text',url)\n", " continue\n", " if count > 5:\n", " break\n", " ticker_news_extracted.append(details)\n", " return ticker_news_extracted" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "https://www.marketbeat.com/instant-alerts/nyse-dlb-sec-filing-2023-08-20/\n", "1 https://www.marketbeat.com/instant-alerts/nyse-dlb-sec-filing-2023-08-20/\n", "https://www.investorsobserver.com/news/stock-update/industrials-stocks-moving-up-and-down-friday-lgmk-vcig-az-dlb-quad-eh-up-view\n", "2 https://www.investorsobserver.com/news/stock-update/industrials-stocks-moving-up-and-down-friday-lgmk-vcig-az-dlb-quad-eh-up-view\n", "https://bismarcktribune.com/sports/high-school/basketball/dlb-standout-yale-kinda-done-being-a-kid-now/article_bb691422-2c10-11ee-9593-abd4b2d8e8a9.html\n", "3 https://bismarcktribune.com/sports/high-school/basketball/dlb-standout-yale-kinda-done-being-a-kid-now/article_bb691422-2c10-11ee-9593-abd4b2d8e8a9.html\n", "Error https://news.google.com/rss/articles/CBMiT2h0dHBzOi8vd3d3Lm5hc2RhcS5jb20vYXJ0aWNsZXMvZGxiLXF1YW50aXRhdGl2ZS1zdG9jay1hbmFseXNpcy1iZW5qYW1pbi1ncmFoYW3SAQA?oc=5&hl=en-US&gl=US&ceid=US:en\n", "https://seekingalpha.com/news/4004259-dolby-laboratories-set-to-join-sp-midcap-400-staar-surgical-to-join-sp-smallcap-600?source=content_type:react%7Cfirst_level_url:market-news%7Csection_asset:main\n", "4 https://seekingalpha.com/news/4004259-dolby-laboratories-set-to-join-sp-midcap-400-staar-surgical-to-join-sp-smallcap-600?source=content_type:react%7Cfirst_level_url:market-news%7Csection_asset:main\n", "https://finance.yahoo.com/news/dolby-laboratories-inc-nyse-dlb-223245549.html\n", "5 https://finance.yahoo.com/news/dolby-laboratories-inc-nyse-dlb-223245549.html\n" ] } ], "source": [ "news_info = get_news_articles_info('DLB')" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "[{'title': 'Apple (NASDAQ:APPL) Slips After iPhone Launch Details Emerge ... - TipRanks',\n", " 'description': 'Apple (NASDAQ:APPL) Slips After iPhone Launch Details Emerge ... TipRanks',\n", " 'published date': 'Mon, 07 Aug 2023 07:00:00 GMT',\n", " 'url': 'https://www.tipranks.com/news/apple-nasdaqappl-slips-after-iphone-launch-details-emerge',\n", " 'publisher': {'href': 'https://www.tipranks.com', 'title': 'TipRanks'},\n", " 'text': 'In what may be an odd twist for Apple (NASDAQ:AAPL) the release of the latest iPhone just got some fresh details attached to it. But oddly, this failed to bolster Apple’s stock price at all. In fact, Apple was down somewhat in Monday afternoon’s trading despite just how much a new iPhone likely means to Apple’s bottom line.\\n\\nThe latest reports note that the iPhone 15 will get a full sales launch somewhere around September 22. That’s a Friday, which should help improve sales, if only narrowly, as buyers will have all weekend to set up their new devices and check out all the little differences. Naturally, the phone won’t just drop into stores; Apple plans to have a launch event a week beforehand, somewhere around the 12th or the 13th. While the basic iPhone aesthetic likely won’t be much changed, there will be some new and worthwhile improvements. Perhaps the biggest will be the three nanometer A17 chip in the iPhone 15 Pro. That little measure is going to make the iPhone 15 Pro the first smartphone powered by a three nanometer chip for a good while.\\n\\nHowever, there will likely also be some issues with the newest launch. First, Apple has to beat its launch of the iPhone 14, which was marred by a supply chain nightmare and pandemic-related issues that kept sufficient models from coming out. Worse, Apple will be launching that new phone into what Apple CEO Tim Cook told CNBC would be a “tough” smartphone market. Considering the state of inflation right now, as well as still-rising prices for everyday staples, Apple might have a tough time convincing shoppers to give up their still-working previous iPhone in favor of the new variety.\\n\\nAnalysts, meanwhile, are mostly convinced Apple can do the job. With 22 Buy ratings and seven Hold, Apple stock is considered a Strong Buy by analyst consensus. Further, with an average price target of $208.99, Apple stock offers investors a 17.04% upside potential.\\n\\nDisclosure'},\n", " {'title': \"Inside the recruitment of Badgers top 2025 LB target Carter Appl - Bucky's 5th Quarter\",\n", " 'description': \"Inside the recruitment of Badgers top 2025 LB target Carter Appl Bucky's 5th Quarter\",\n", " 'published date': 'Mon, 07 Aug 2023 07:00:00 GMT',\n", " 'url': 'https://www.buckys5thquarter.com/wisconsin-football-recruiting/2023/8/7/23823101/inside-the-recruitment-of-wisconsin-badgers-top-2025-lb-target-carter-appl-mike-tressel-luke-fickell',\n", " 'publisher': {'href': 'https://www.buckys5thquarter.com',\n", " 'title': \"Bucky's 5th Quarter\"},\n", " 'text': \"The Wisconsin Badgers are showing interest in 2025 in-state linebacker Carter Appl, a native of Appleton, Wisconsin, who was recently on campus this past June.\\n\\nWhile Appl hasn't earned an offer from Luke Fickell’s staff yet, the linebacker informed Bucky’s 5th Quarter about the coaches’ message that he’s a priority in the 2025 class for the program.\\n\\n“[Initial conversations with the staff have been] great. They had me down for an unofficial visit at the end of June with the last football camp and got to talk to a lot of coaches. They invited me down to a game in October and then sent me graphics this week and a message saying I’m one of their top targets for 2025,” Appl said.\\n\\nAppl has begun to build a relationship with linebackers coach Mike Tressel and the rest of the staff, which he hopes will continue on later visits.\\n\\n“[My relationships with the coaches] have been pretty good and they seem interested, hoping to further grow the relationships with more visits.”\\n\\nThe plan currently is for Appl to come down for a game this fall on his next visit, although the specific date hasn't been finalized.\\n\\nEarly in the recruiting process, Appl’s standout schools are Wisconsin and North Dakota State, but the Appleton native is looking to gain exposure on the recruiting platform with a strong junior season and camping elsewhere next summer.\\n\\n“As of now, [standout schools are] the Badgers and North Dakota State, but hoping to get exposure from other schools by going to more camps next summer and having a great season.”\\n\\nAs for personal goals, Appl is hoping to lead Xavier High School to a state title this year, while personally looking to be the leader in tackles amongst the state, while also hoping for an All-State achievement this fall.\\n\\n“My main goal for the season is for our team to reach our max potential and ultimately win a state title. Individually, my goal is to lead the state in tackles for loss and sacks and to make All-State which will hopefully help us to achieve those team goals!”\\n\\nThe Badgers already are recruiting in-state linebacker Cooper Catalano hard, and Appl could very well be another target for the school at linebacker in the 2025 class.\"},\n", " {'title': 'Wisconsin Badgers Targeting In-State LB Carter Appl for 2025 Class - BVM Sports',\n", " 'description': 'Wisconsin Badgers Targeting In-State LB Carter Appl for 2025 Class BVM Sports',\n", " 'published date': 'Mon, 07 Aug 2023 22:18:00 GMT',\n", " 'url': 'https://bvmsports.com/2023/08/07/wisconsin-badgers-targeting-in-state-lb-carter-appl-for-2025-class/',\n", " 'publisher': {'href': 'https://bvmsports.com', 'title': 'BVM Sports'},\n", " 'text': \"Via Bucky's 5th Quarter, 08/07/2023\\n\\nKey points: Wisconsin Badgers showing interest in 2025 in-state linebacker Carter Appl\\n\\nAppl informed Bucky's 5th Quarter about being a priority recruit for the Badgers' 2025 class\\n\\nAppl has standout schools of Wisconsin and North Dakota State, but looking for more exposure\\n\\nThe Wisconsin Badgers are showing interest in recruiting in-state linebacker Carter Appl for the 2025 class. Appl recently visited the campus and has been in talks with the coaching staff, who see him as a priority for the program. He is also considering North Dakota State as a potential school. Appl plans to attend a game at Wisconsin this fall and hopes to gain exposure through camps and have a successful junior season. His goals include leading his high school team to a state title and earning All-State honors. The Badgers are also recruiting linebacker Cooper Catalano.\\n\\nThe summary of the linked article was generated with the assistance of artificial intelligence technology from OpenAI\"},\n", " {'title': 'LEGAL NOTICE Notice of Qualification of HENNING COMPANIES ... - Finger Lakes Times',\n", " 'description': 'LEGAL NOTICE Notice of Qualification of HENNING COMPANIES ... Finger Lakes Times',\n", " 'published date': 'Sat, 12 Aug 2023 03:57:51 GMT',\n", " 'url': 'https://www.fltimes.com/classifieds/community/announcements/legal/legal-notice-notice-of-qualification-of-henning-companies-llc-appl/ad_d75248ba-7d56-5f98-b866-43d8700379e5.html',\n", " 'publisher': {'href': 'https://www.fltimes.com',\n", " 'title': 'Finger Lakes Times'},\n", " 'text': 'LEGAL NOTICE\\n\\nNotice of Qualification of HENNING COMPANIES, LLC\\n\\nAppl. for Auth. filed with Secy. of State of NY (SSNY) on 07/31/23. Office location: Wayne County. LLC formed in Missouri (MO) on 02/10/15. Princ. office of LLC: 5800 Merle Hay Rd., Ste. 14, Johnston, IA 50131. NYS fictitious name: HENNING COMPANIES #1, LLC. SSNY designated as agent of LLC upon whom process against it may be served. SSNY shall mail process to Corporation Service Co., 80 State St., Albany, NY 12207-2543. Cert. of Form. filed with Secy. of State - MO, 600 W. Main St., Jefferson City, MO 65101. Purpose: Any lawful activity.\\n\\n528'},\n", " {'title': \"Apple Faces Weak Smartphone Market. These Analysts Say Buy the Stock Anyway. - Barron's\",\n", " 'description': \"Apple Faces Weak Smartphone Market. These Analysts Say Buy the Stock Anyway. Barron's\",\n", " 'published date': 'Mon, 31 Jul 2023 07:00:00 GMT',\n", " 'url': 'https://www.barrons.com/articles/apple-stock-price-iphone-sales-earnings-a84e66aa',\n", " 'publisher': {'href': 'https://www.barrons.com', 'title': \"Barron's\"},\n", " 'text': 'Apple Is Grappling With a Weak Smartphone Market. These Analysts Say to Buy the Stock Anyway.\\n\\nApple’s third-quarter report on Thursday is set to be the highlight of a busy earnings week.\\n\\nFrom To Message\\n\\nSEND\\n\\nAn error has occurred, please try again later.'}]" ] }, "execution_count": 94, "metadata": {}, "output_type": "execute_result" } ], "source": [ "news_info" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "import plotly.graph_objs as go" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.6" }, "orig_nbformat": 4 }, "nbformat": 4, "nbformat_minor": 2 }