예제 #1
0
def main():
    NOW=datetime.datetime.utcnow()
    opt, args = poms.opts(usage = usage, minargs = 2)
    mid, program_url = args

    poms.set_location(mid, program_url, publishStop = NOW)
예제 #2
0
파일: test.py 프로젝트: npo-poms/scripts
 def test_get_locations(self):
     print(poms.set_location("WO_VPRO_041686", "http://www.vpro.nl/123.mp4", publishStop="2012-10-10T20:20:00"))