Class: Debug

Inherits:
Object
  • Object
show all
Defined in:
lib/debug.rb

Class Method Summary collapse

Class Method Details

.test_get_doc_with_proxy(proxylist) ⇒ Object



11
12
13
14
# File 'lib/debug.rb', line 11

def self.test_get_doc_with_proxy(proxylist)
  herf = "http://www.tvmao.com/drama/HS5oLCs="
  Grabepg.get_doc_with_proxy(proxylist,herf)
end

.test_get_show_infomation(proxylist) ⇒ Object



16
17
18
19
# File 'lib/debug.rb', line 16

def self.test_get_show_infomation(proxylist)
  herf = "http://www.tvmao.com/tvcolumn/cVhPLQ=="
  Grabepg.get_show_infomation(proxylist,herf)
end

.test_get_show_schedule(proxylist) ⇒ Object



27
28
29
30
# File 'lib/debug.rb', line 27

def self.test_get_show_schedule(proxylist)
  herf = "http://www.tvmao.com/tvcolumn/cVhPLQ=="
  Grabepg.get_show_schedule(proxylist,herf)
end

.test_getschedule(proxylist) ⇒ Object



21
22
23
24
25
# File 'lib/debug.rb', line 21

def self.test_getschedule(proxylist)
  channel = "HUNANTV"
  herf = "/program/HUNANTV-HUNANTV-w1.html"
  Grabepg.getschedule(channel,herf,proxylist,site="http://www.tvmao.com")
end