mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-05-18 10:20:00 +02:00
fixes
This commit is contained in:
parent
14637c0b50
commit
1a8ab7382d
@ -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
|
||||
|
4
setup.py
4
setup.py
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user