Skip to content

Commit

Permalink
Merge pull request #200 from joaocv3/drop-vk-support
Browse files Browse the repository at this point in the history
Drop VK support
  • Loading branch information
thibaudgg authored Oct 28, 2020
2 parents ca3b1fc + 4d5f487 commit 15dff01
Show file tree
Hide file tree
Showing 203 changed files with 5,056 additions and 4,760 deletions.
15 changes: 1 addition & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

:exclamation: VideoInfo is no more actively maintained, please [contact me](mailto:thibaud@thibaud.gg) if you're interested in helping.

Simple Ruby Gem to get video info from Dailymotion, VK, Vimeo, Wistia and YouTube (with playlist).
Simple Ruby Gem to get video info from Dailymotion, Vimeo, Wistia and YouTube (with playlist).

Tested against Ruby 2.3.0, 2.2.4, and the latest versions of JRuby & Rubinius.

Expand Down Expand Up @@ -93,19 +93,6 @@ video = VideoInfo.new("http://fast.wistia.com/embed/medias/pxonqr42is")
# video.embed_url => '//fast.wistia.net/embed/iframe/pxonqr42is'
# video.embed_code => "<iframe src='//fast.wistia.net/embed/iframe/pxonqr42is' frameborder='0'></iframe>"

video = VideoInfo.new('http://vk.com/video39576223_108370515')
# video.available? => true
# video.provider => "Vkontakte"
# video.video_id => "108370515"
# video.author => "Alexander Maslov"
# video.author_thumbnail => "https://pp.vk.me/c624521/v624521223/3c288/lVcVW7LNnrQ.jpg"
# video.author_url => "https://vk.com/videos39576223"
# video.title => "Я уточка)))))"
# video.description => "это ВЗРЫВ МОЗГА!!!<br>Просто отвал башки..."
# video.duration => 183 (in seconds)
# video.embed_url => "//vk.com/video_ext.php?oid=39576223&id=108370515&hash=15184dbd085c47af"
# video.embed_code => "<iframe src=\"//vk.com/video_ext.php?oid=39576223&id=108370515&hash=15184dbd085c47af\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"></iframe>"

video = VideoInfo.new("http://www.youtube.com/watch?v=mZqGqE0D0n4")
# video.available? => true
# video.video_id => 'mZqGqE0D0n4'
Expand Down
2 changes: 1 addition & 1 deletion lib/video_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def logger
extend Forwardable

PROVIDERS = %w[
Dailymotion Vkontakte Wistia
Dailymotion Wistia
Vimeo Youtube YoutubePlaylist
].freeze
PROVIDERS.each { |p| require "video_info/providers/#{p.downcase}" }
Expand Down
208 changes: 0 additions & 208 deletions lib/video_info/providers/vkontakte.rb

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 15dff01

Please sign in to comment.