This commit is contained in:
Believethehype 2023-12-18 09:27:01 +01:00
parent 14637c0b50
commit 1a8ab7382d
2 changed files with 8 additions and 8 deletions

View File

@ -332,30 +332,30 @@ def get_media_link(url) -> (str, str):
def downloadOvercast(source_url, target_location):
from scrapper.media_scrapper import OvercastDownload
from nostr_dvm.utils.scrapper.media_scrapper import OvercastDownload
result = OvercastDownload(source_url, target_location)
return result
def downloadTwitter(videourl, path):
from scrapper.media_scrapper import XitterDownload
from nostr_dvm.utils.scrapper.media_scrapper import XitterDownload
result = XitterDownload(videourl, path + "x.mp4")
return result
def downloadTikTok(videourl, path):
from scrapper.media_scrapper import TiktokDownloadAll
from nostr_dvm.utils.scrapper.media_scrapper import TiktokDownloadAll
result = TiktokDownloadAll([videourl], path)
return result
def downloadInstagram(videourl, path):
from scrapper.media_scrapper import InstagramDownload
from nostr_dvm.utils.scrapper.media_scrapper import InstagramDownload
result = InstagramDownload(videourl, "insta", path)
return result
def downloadYouTube(link, path, audioonly=True):
from scrapper.media_scrapper import YouTubeDownload
from nostr_dvm.utils.scrapper.media_scrapper import YouTubeDownload
result = YouTubeDownload(link, path, audio_only=audioonly)
return result

View File

@ -1,8 +1,8 @@
from setuptools import setup, find_packages
VERSION = '0.0.5'
DESCRIPTION = 'A framework to build and run NIP90 Data Vending Machines'
LONG_DESCRIPTION = ('A framework to build and run NIP90 Data Vending Machines. '
DESCRIPTION = 'A framework to build and run Nostr NIP90 Data Vending Machines'
LONG_DESCRIPTION = ('A framework to build and run Nostr NIP90 Data Vending Machines. '
'This is an early stage release. Interfaces might change/brick')
# Setting up