René's URL Explorer Experiment


Title: Add extract_urls-helper by JosXa · Pull Request #854 · python-telegram-bot/python-telegram-bot · GitHub

Open Graph Title: Add extract_urls-helper by JosXa · Pull Request #854 · python-telegram-bot/python-telegram-bot

X Title: Add extract_urls-helper by JosXa · Pull Request #854 · python-telegram-bot/python-telegram-bot

Description: Added a new helper that extracts all URLs contained in a message and returned from Telegram

Open Graph Description: Added a new helper that extracts all URLs contained in a message and returned from Telegram

X Description: Added a new helper that extracts all URLs contained in a message and returned from Telegram

Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/pull/854

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b36fc397-31f0-773d-b6c3-c9f69fb64293
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB6DC:293912:B77254:F010C8:6B026A40
html-safe-nonce37838667ec4d1fcdf7b806da84438ad50207bc7acdee3f19e1420f2470d84c57
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkRDOjI5MzkxMjpCNzcyNTQ6RjAxMEM4OjZCMDI2QTQwIiwidmlzaXRvcl9pZCI6IjE4NDM0MDE5NzA5ODgyNDc2MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac10cf6a77d96c0bcc7b43fa69bb480f7e4112e9169eac82571bcdae15298bf23c
hovercard-subject-tagpull_request:144099761
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files
twitter:imagehttps://avatars.githubusercontent.com/u/7313176?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7313176?s=400&v=4
og:image:altAdded a new helper that extracts all URLs contained in a message and returned from Telegram
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git
octolytics-dimension-user_id16178365
octolytics-dimension-user_loginpython-telegram-bot
octolytics-dimension-repository_id38696925
octolytics-dimension-repository_nwopython-telegram-bot/python-telegram-bot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38696925
octolytics-dimension-repository_network_root_nwopython-telegram-bot/python-telegram-bot
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F854%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F854%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-telegram-bot%2Fpython-telegram-bot
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/854/files
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/854/files
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/854/files
python-telegram-bothttps://github.com/python-telegram-bot
python-telegram-bothttps://github.com/python-telegram-bot/python-telegram-bot
Codehttps://github.com/python-telegram-bot/python-telegram-bot
Issues23 (23)https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests19 (19)https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussionshttps://github.com/python-telegram-bot/python-telegram-bot/discussions
Actionshttps://github.com/python-telegram-bot/python-telegram-bot/actions
Projectshttps://github.com/python-telegram-bot/python-telegram-bot/projects
Wikihttps://github.com/python-telegram-bot/python-telegram-bot/wiki
Security and qualityhttps://github.com/python-telegram-bot/python-telegram-bot/security
Insightshttps://github.com/python-telegram-bot/python-telegram-bot/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2Fnew%2Fchoose
JosXahttps://github.com/JosXa
masterhttps://github.com/python-telegram-bot/python-telegram-bot/tree/master
extract-urlshttps://github.com/python-telegram-bot/python-telegram-bot/tree/extract-urls
Conversation 41 https://github.com/python-telegram-bot/python-telegram-bot/pull/854
Commits 40 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits
Checks 0 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/checks
Files changed https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/854/files
Add extract_urls-helper https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#top
Show all changes 40 commits https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files
d559af9 Add extract_urls-helper JosXa Oct 2, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/d559af901ce92191994d550ea681fdf706a1dfe1
06e9f36 Removed mistaken urllib3 JosXa Oct 2, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/06e9f3678a23b73aad5c66e11a713ed09c315929
582487b Removed mistaken urllib3 JosXa Oct 2, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/582487bd6fff1c67b9cf4b4e403aa69313f60763
9738a5b Using stdlib data structure for removing of duplicates JosXa Oct 2, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/9738a5b08416368929f09e0e64acdb92edbdbe1c
c10a06b Fixed test JosXa Oct 2, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/c10a06b30570b3177c6cfd7cca467bbe44866197
0e1f76f Added possibility to extract URLs from (photo) caption JosXa Oct 2, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/0e1f76f4bfb7f5243dc8b401d22a0a74340e99a5
be20c26 Added Test case for private extractor method JosXa Oct 2, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/be20c2636ac5bb7757a059e22e2bc51466ec783a
51b848f Urlparse fix for py2 JosXa Oct 2, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/51b848f4d7db71a3f8aabdf6387b59c0d9ae9904
de5d49e Reverted echobot JosXa Oct 2, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/de5d49e4a9736504abe675ac98823655c45d0245
5df9163 Reverted echobot JosXa Oct 2, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/5df91631a9cb9c254b4c732d4c1d957ff9764faf
a0cfb48 Making flake8 happy JosXa Oct 7, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/a0cfb48682c80976b9b454c2feda0f3759a4f96b
8648d5a Removed trailing slashes from URLs JosXa Oct 7, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/8648d5a65b46de408795eb9a087747d328a0c0ba
a2cb0b4 Also sorting urls JosXa Oct 7, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/a2cb0b48809291c1f591f0cf61471edd625b435a
ee20220 Fixed sorting JosXa Oct 7, 2017 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/ee202209367520635ee32e01e524c9fa89213be0
74f58cc Merge remote-tracking branch 'remotes/origin/master' into extract-urls JosXa Feb 1, 2018 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/74f58ccf875d8e70e863d12b6d42324a33872d1a
54690a1 Added notice that links are returned in ascending order JosXa Feb 1, 2018 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/54690a1e9aadbaa84d9316a18515d98dbe23a8dd
66f8079 Another attempt to fix sorting in python2 JosXa Feb 1, 2018 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/66f8079c8a4eb00939351b6d3223ebb345e32a5d
d6b51a6 Changed extract_urls helper according to suggestions JosXa Feb 1, 2018 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/d6b51a6741cf63e76ab2bfc7bedb89670453ec99
5c3d6bd Merge remote-tracking branch 'origin/master' into extract-urls tsnoam Feb 12, 2018 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/5c3d6bd9ab62acbb9ece8b44492b14159af704db
a246233 Merge remote-tracking branch 'remotes/origin/master' into extract-urls JosXa Feb 25, 2018 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/a246233e5105a7fcc1d3658222a44590a3190634
05a26e5 Merge remote-tracking branch 'origin/extract-urls' into extract-urls JosXa Feb 25, 2018 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/05a26e5a356e6cf2da8bde81ee104f899e388797
f50fe6c Merge branch 'master' of https://github.com/python-telegram-bot/pytho… JosXa Mar 3, 2018 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/f50fe6cb0f231b9cb9ecddbdaa908b586390c4fc
1ca712e Fix requested changes JosXa Mar 3, 2018 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/1ca712e21a75499860defa98d08b28dd555d6538
37498ce Revert echobot JosXa Mar 3, 2018 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/37498ce9109b7966ccf3a49643ed6b6b4d7057a9
6dce911 Merge master Bibo-Joshi Sep 9, 2019 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/6dce91190cc035e41c54f0f3a3333f85f4474ee8
6c6658e Change trailing slash bahavior for helpers.extract_urls Bibo-Joshi Sep 9, 2019 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/6c6658e369e3788e6c5cccfd8f42c453a485ebb1
b69f922 Refine test_extract_urls_caption Bibo-Joshi Sep 9, 2019 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/b69f9227645bf81186a9c1bcb3d8cd2a85118b9f
f69e469 Elaborate docstring Bibo-Joshi Sep 9, 2019 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/f69e4695a61524a3f176a9f21943b3a381078342
e15ef7a Try making order in helpers.extract_urls more robust Bibo-Joshi Sep 9, 2019 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/e15ef7a94b98423821ef35e2a985a3c3f99c7348
d85d11c Next try making ordir in helpers.extract_urls reliable Bibo-Joshi Sep 9, 2019 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/d85d11c765be52c39d3b322906a4a9dc35945ad9
5755300 Last try for today making order in helpers.extract_urls reliable Bibo-Joshi Sep 9, 2019 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/575530070bccad9b2c0d77c6747dba713b7c39ec
31d08bc Merge master Bibo-Joshi Oct 17, 2019 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/31d08bc1cc20ca50fa081672de592d2323a7c4eb
5e49f52 Fix sorting issue Bibo-Joshi Oct 17, 2019 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/5e49f52c2f245b0d4fd2abddd591b5cc21feb0b8
5fca04f Remove unused import Bibo-Joshi Oct 17, 2019 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/5fca04f6134ff480799b3a667f0d00efdfd01705
f40cf04 Don't filter for trailing slashes Bibo-Joshi Oct 18, 2019 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/f40cf04c2f4e8fc95be742ee12287203ea26ce6a
2f8fb19 Merge remote-tracking branch 'origin/master' into extract-urls Bibo-Joshi Nov 18, 2019 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/2f8fb190bf261da299b86846ae7786afd4a01311
e2f8d4f Rework extract url, add test Bibo-Joshi Jan 27, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/e2f8d4f80524c74985767b19d315c684dcc21944
697e047 Add extract_message_links, Close #1733 Bibo-Joshi Jan 27, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/697e0479d0c54cf467d6bb9885726cdbfc6718d8
cb94174 rework extract_message_links Bibo-Joshi Jan 28, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/cb94174e0ea408c06d5525204617611004051a8f
416a175 Merge branch 'master' into extract-urls Bibo-Joshi Jan 30, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/854/commits/416a17527e7a118292facf481596622aa4300202
Clear filters https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/854/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/854/files
helpers.py https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#diff-d18a741ffd038a7b68453479cba52f796086e9e2bc1bc376ebd25e5d121b9ed3
test_helpers.py https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#diff-08a6944653efc734f4c8cb856fc854b9f21d655ca69796af2b170c53bff7919e
telegram/utils/helpers.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#diff-d18a741ffd038a7b68453479cba52f796086e9e2bc1bc376ebd25e5d121b9ed3
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/416a17527e7a118292facf481596622aa4300202/telegram/utils/helpers.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/854/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#diff-d18a741ffd038a7b68453479cba52f796086e9e2bc1bc376ebd25e5d121b9ed3
https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#diff-d18a741ffd038a7b68453479cba52f796086e9e2bc1bc376ebd25e5d121b9ed3
https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#diff-d18a741ffd038a7b68453479cba52f796086e9e2bc1bc376ebd25e5d121b9ed3
https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#diff-d18a741ffd038a7b68453479cba52f796086e9e2bc1bc376ebd25e5d121b9ed3
tests/test_helpers.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#diff-08a6944653efc734f4c8cb856fc854b9f21d655ca69796af2b170c53bff7919e
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/416a17527e7a118292facf481596622aa4300202/tests/test_helpers.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/854/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#diff-08a6944653efc734f4c8cb856fc854b9f21d655ca69796af2b170c53bff7919e
https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#diff-08a6944653efc734f4c8cb856fc854b9f21d655ca69796af2b170c53bff7919e
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/854/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/854/files
https://github.com/python-telegram-bot/python-telegram-bot/pull/854/files#diff-08a6944653efc734f4c8cb856fc854b9f21d655ca69796af2b170c53bff7919e
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.