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

Drop VK support #200

Merged
merged 3 commits into from
Oct 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.