15 lines
456 B
Python
Executable File
15 lines
456 B
Python
Executable File
# -*- coding: utf-8 -*-
|
|
|
|
from platformcode import logger
|
|
|
|
|
|
# Returns an array of possible video url's from the page_url
|
|
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
|
|
logger.info("server=torrent, la url es la buena")
|
|
if page_url.startswith("magnet:"):
|
|
video_urls = [["magnet: [torrent]", page_url]]
|
|
else:
|
|
video_urls = [[".torrent [torrent]", page_url]]
|
|
|
|
return video_urls
|