Logo
Explore Help
Sign In
gh-mirrors/scribe
1
0
Fork 0
You've already forked scribe
mirror of https://git.sr.ht/~edwardloveall/scribe synced 2026-01-10 19:54:52 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
b092ba6dc1b3e0ddd43b7b3ca84f695695aaa949
scribe/spec/support/http_client.cr
Edward Loveall aacef34a14 Accept all known medium post path types
Including:

* https://example.com/my-cool-post-123456abcdef
* https://example.com/123456abcdef
* https://medium.com/@user/my-cool-post-123456abcdef
* https://medium.com/user/my-cool-post-123456abcdef
* https://medium.com/p/my-cool-post-123456abcdef
* https://medium.com/posts/my-cool-post-123456abcdef
* https://medium.com/p/123456abcdef

Replace any of those posts with the scribe domain and it should resolve
2021-10-03 16:45:20 -04:00

3 lines
45 B
Crystal
Raw Blame History

class HttpClient < Lucky::BaseHTTPClient
end
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 47ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API