mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 11:18:08 -06:00
TWBlue doesn't play audioboom boos
This commit is contained in:
parent
76d8c292c9
commit
c571a913c5
@ -3,12 +3,12 @@ import json
|
||||
import re
|
||||
import urllib
|
||||
|
||||
@matches_url('https://audioboom.com')
|
||||
def convert_audioboom(url):
|
||||
if "audioboom.com" not in url.lower():
|
||||
raise TypeError('%r is not a valid URL' % url)
|
||||
audio_id = url.split('.com/')[-1]
|
||||
return 'https://audioboom.com/%s.mp3' % audio_id
|
||||
#@matches_url('https://audioboom.com')
|
||||
#def convert_audioboom(url):
|
||||
# if "audioboom.com" not in url.lower():
|
||||
# raise TypeError('%r is not a valid URL' % url)
|
||||
# audio_id = url.split('.com/')[-1]
|
||||
# return 'https://audioboom.com/%s.mp3' % audio_id
|
||||
|
||||
@matches_url ('http://soundcloud.com/')
|
||||
def convert_soundcloud (url):
|
||||
|
Loading…
Reference in New Issue
Block a user