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 Telegram username support #61

Merged
merged 1 commit into from
Oct 10, 2019
Merged

Conversation

DRSDavidSoft
Copy link
Contributor

description

This provider scrapes the Telegram profile page for user avatars

remarks

  • t.me/:username is a short domain that Telegram officially use to redirect to their app
  • the actual profile image is usually hosted at telesco.pe domain (i believe it's their cdn)

tests

  • ✔️ http://unavatar.now.local:3000/drsdavidsoft (seems to work)
  • ✔️ http://unavatar.now.local:3000/deviantart/drsdavidsoft (explicit username)

n.b. 1. unavatar.now.local is a hosts entry that points to 127.0.0.1
n.b. 2. this time I made sure to follow the commit convention and run lint tests :)

status

PR is ready to be merged!

@Kikobeats
Copy link
Member

omg this so good thanks for that!

@Kikobeats Kikobeats merged commit 2332e05 into microlinkhq:master Oct 10, 2019
rodrigoreis22 pushed a commit to rodrigoreis22/unavatar that referenced this pull request Jun 9, 2020
## The dependency [url-regex](https://github.com/kevva/url-regex) was updated from `4.1.1` to `5.0.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

---

<details>
<summary>Release Notes for v5.0.0</summary>

<p>Breaking:</p>
<ul>
<li>Require Node.js 8 (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="435449892" data-permission-text="Issue title is private" data-url="kevva/url-regex#61" data-hovercard-type="pull_request" data-hovercard-url="/kevva/url-regex/pull/61/hovercard" href="https://urls.greenkeeper.io/kevva/url-regex/pull/61">#61</a>)  <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kevva/url-regex/commit/6422d95ed9602eedbd5649b64de1a78104954eba/hovercard" href="https://urls.greenkeeper.io/kevva/url-regex/commit/6422d95ed9602eedbd5649b64de1a78104954eba"><tt>6422d95</tt></a></li>
</ul>
<p>Enhancements:</p>
<ul>
<li>Add TypeScript definition (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="435449892" data-permission-text="Issue title is private" data-url="kevva/url-regex#61" data-hovercard-type="pull_request" data-hovercard-url="/kevva/url-regex/pull/61/hovercard" href="https://urls.greenkeeper.io/kevva/url-regex/pull/61">#61</a>)  <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kevva/url-regex/commit/6422d95ed9602eedbd5649b64de1a78104954eba/hovercard" href="https://urls.greenkeeper.io/kevva/url-regex/commit/6422d95ed9602eedbd5649b64de1a78104954eba"><tt>6422d95</tt></a></li>
<li>Allow underscores in host (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="312850257" data-permission-text="Issue title is private" data-url="kevva/url-regex#56" data-hovercard-type="pull_request" data-hovercard-url="/kevva/url-regex/pull/56/hovercard" href="https://urls.greenkeeper.io/kevva/url-regex/pull/56">#56</a>)  <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kevva/url-regex/commit/7313fb08c70a48b3dbd7d5816042273e8c2e63ff/hovercard" href="https://urls.greenkeeper.io/kevva/url-regex/commit/7313fb08c70a48b3dbd7d5816042273e8c2e63ff"><tt>7313fb0</tt></a></li>
</ul>
<p><a class="commit-link" href="https://urls.greenkeeper.io/kevva/url-regex/compare/v4.1.1...v5.0.0"><tt>v4.1.1...v5.0.0</tt></a></p>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 3 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/kevva/url-regex/commit/9f0450b59906264b5f9b789ee873dd8837d7d909"><code>9f0450b</code></a> <code>5.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/kevva/url-regex/commit/7313fb08c70a48b3dbd7d5816042273e8c2e63ff"><code>7313fb0</code></a> <code>Allow underscores in host (microlinkhq#56)</code></li>
<li><a href="https://urls.greenkeeper.io/kevva/url-regex/commit/6422d95ed9602eedbd5649b64de1a78104954eba"><code>6422d95</code></a> <code>Require Node.js 8, add TypeScript definition (microlinkhq#61)</code></li>
</ul>
<p>See the <a href="https://urls.greenkeeper.io/kevva/url-regex/compare/1e9fdb9d320a44168d1f3f255622d02badb20113...9f0450b59906264b5f9b789ee873dd8837d7d909">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants