mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-05-19 16:00:05 +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):
|
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)
|
result = OvercastDownload(source_url, target_location)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
def downloadTwitter(videourl, path):
|
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")
|
result = XitterDownload(videourl, path + "x.mp4")
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
def downloadTikTok(videourl, path):
|
def downloadTikTok(videourl, path):
|
||||||
from scrapper.media_scrapper import TiktokDownloadAll
|
from nostr_dvm.utils.scrapper.media_scrapper import TiktokDownloadAll
|
||||||
result = TiktokDownloadAll([videourl], path)
|
result = TiktokDownloadAll([videourl], path)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
def downloadInstagram(videourl, path):
|
def downloadInstagram(videourl, path):
|
||||||
from scrapper.media_scrapper import InstagramDownload
|
from nostr_dvm.utils.scrapper.media_scrapper import InstagramDownload
|
||||||
result = InstagramDownload(videourl, "insta", path)
|
result = InstagramDownload(videourl, "insta", path)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
def downloadYouTube(link, path, audioonly=True):
|
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)
|
result = YouTubeDownload(link, path, audio_only=audioonly)
|
||||||
return result
|
return result
|
||||||
|
4
setup.py
4
setup.py
@ -1,8 +1,8 @@
|
|||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
VERSION = '0.0.5'
|
VERSION = '0.0.5'
|
||||||
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 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')
|
'This is an early stage release. Interfaces might change/brick')
|
||||||
|
|
||||||
# Setting up
|
# Setting up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user