first commit
This commit is contained in:
commit
703f276458
6
allowed.txt
Normal file
6
allowed.txt
Normal file
@ -0,0 +1,6 @@
|
||||
https://i.ytimg.com/vi/ns0WFtZncB0
|
||||
https://i.ytimg.com/an_webp/ns0WFtZncB0
|
||||
https://i.ytimg.com/sb/ns0WFtZncB0
|
||||
https://youtu.be/ns0WFtZncB0
|
||||
https://www.youtube.com/watch?v=ns0WFtZncB0
|
||||
https://youtube.com/watch?v=ns0WFtZncB0
|
6
blocked.txt
Normal file
6
blocked.txt
Normal file
@ -0,0 +1,6 @@
|
||||
https://i.ytimg.com/vi/3rbcPeJPXTg
|
||||
https://i.ytimg.com/an_webp/3rbcPeJPXTg
|
||||
https://i.ytimg.com/sb/3rbcPeJPXTg
|
||||
https://youtu.be/3rbcPeJPXTg
|
||||
https://www.youtube.com/watch?v=3rbcPeJPXTg
|
||||
https://youtube.com/watch?v=3rbcPeJPXTg
|
15
gen-urls-for-vid.rb
Executable file
15
gen-urls-for-vid.rb
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
vid = ARGV[0]
|
||||
|
||||
patterns = []
|
||||
patterns << "https://i.ytimg.com/vi/###VID###"
|
||||
patterns << "https://i.ytimg.com/an_webp/###VID###"
|
||||
patterns << "https://i.ytimg.com/sb/###VID###"
|
||||
patterns << "https://youtu.be/###VID###"
|
||||
patterns << "https://www.youtube.com/watch?v=###VID###"
|
||||
patterns << "https://youtube.com/watch?v=###VID###"
|
||||
|
||||
patterns.each do |p|
|
||||
puts("#{p.gsub("###VID###", vid)}")
|
||||
end
|
Loading…
Reference in New Issue
Block a user