MythTV  master
Classes | Variables
alsong.lyricsScraper Namespace Reference

Classes

class  LyricsFetcher
 

Variables

string __title__ = 'Alsong'
 
string __priority__ = '150'
 
bool __lrc__ = True
 
string ALSONG_URL = 'http://lyrics.alsong.net/alsongwebservice/service1.asmx'
 
string ALSONG_TMPL
 

Variable Documentation

◆ __title__

string alsong.lyricsScraper.__title__ = 'Alsong'
private

Definition at line 14 of file lyricsScraper.py.

◆ __priority__

string alsong.lyricsScraper.__priority__ = '150'
private

Definition at line 15 of file lyricsScraper.py.

◆ __lrc__

bool alsong.lyricsScraper.__lrc__ = True
private

Definition at line 16 of file lyricsScraper.py.

◆ ALSONG_URL

string alsong.lyricsScraper.ALSONG_URL = 'http://lyrics.alsong.net/alsongwebservice/service1.asmx'

Definition at line 20 of file lyricsScraper.py.

◆ ALSONG_TMPL

string alsong.lyricsScraper.ALSONG_TMPL
Initial value:
1 = '''\
2 <?xml version='1.0' encoding='UTF-8'?>
3 <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://www.w3.org/2003/05/soap-envelope' xmlns:SOAP-ENC='http://www.w3.org/2003/05/soap-encoding' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:ns2='ALSongWebServer/Service1Soap' xmlns:ns1='ALSongWebServer' xmlns:ns3='ALSongWebServer/Service1Soap12'>
4 <SOAP-ENV:Body>
5  <ns1:GetResembleLyric2>
6  <ns1:stQuery>
7  <ns1:strTitle>%s</ns1:strTitle>
8  <ns1:strArtistName>%s</ns1:strArtistName>
9  <ns1:nCurPage>0</ns1:nCurPage>
10  </ns1:stQuery>
11  </ns1:GetResembleLyric2>
12 </SOAP-ENV:Body>
13 </SOAP-ENV:Envelope>
14 '''

Definition at line 22 of file lyricsScraper.py.