id author title date pages extension mime words sentences flesch summary cache txt github-com-4265 twarc/urls.py at main · DocNow/twarc · GitHub .html text/html 363 97 79 twarc/urls.py at main · DocNow/twarc · GitHub GitHub Sponsors → Explore GitHub → Learn and contribute Learning Lab → Open source guides → GitHub Education → GitHub Stars program → Compare plans → No suggested jump to results Sign up Sign up Sign up Sign up Sign up Issues Issues Projects Projects Switch branches/tags View all branches View all tags Code definitions No definitions found in this file. Open with Desktop View raw View blame Print out the URLs in a tweet json stream. tweet = json.loads(line) for url in tweet["entities"]["urls"]: print(url['unshortened_url']) elif url.get('expanded_url'): print(url['expanded_url']) print(url['url']) Copy lines Copy permalink Copy permalink View git blame Reference in new issue © 2021 GitHub, Inc. © 2021 GitHub, Inc. © 2021 GitHub, Inc. © 2021 GitHub, Inc. © 2021 GitHub, Inc. © 2021 GitHub, Inc. Contact GitHub You can't perform that action at this time. You signed out in another tab or window. ./cache/github-com-4265.html ./txt/github-com-4265.txt