robbyrussell / shorturl

A Ruby gem that connects to various URL shortening services like RubyURL, moourl, etc.
MIT License
106 stars 27 forks source link

issue in api bit.ly #20

Open Abo5 opened 5 months ago

Abo5 commented 5 months ago

there issue in api bit.ly not working

require 'shorturl'

long_url = "https://www.youtube.com/watch?v=B3Fbujmgo60"
short_url = ShortURL.shorten(long_url, :bitly)

puts "Original URL: #{long_url}"
puts "Shortened URL: #{short_url}"

output :

Original URL: https://www.youtube.com/watch?v=B3Fbujmgo60
Shortened URL: