@ -15,8 +15,7 @@ public interface IGxwztvApi {
@Headers ( { "Accept:text/html,application/xhtml+xml,application/xml" ,
@Headers ( { "Accept:text/html,application/xhtml+xml,application/xml" ,
"User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3" ,
"User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3" ,
"Accept-Charset:UTF-8" ,
"Accept-Charset:UTF-8" ,
"Keep-Alive:300" ,
"Connection:close" ,
"Connection:Keep-Alive" ,
"Cache-Control:no-cache" } )
"Cache-Control:no-cache" } )
Observable < String > getBookInfo ( @Url String url ) ;
Observable < String > getBookInfo ( @Url String url ) ;
@ -24,8 +23,7 @@ public interface IGxwztvApi {
@Headers ( { "Accept:text/html,application/xhtml+xml,application/xml" ,
@Headers ( { "Accept:text/html,application/xhtml+xml,application/xml" ,
"User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3" ,
"User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3" ,
"Accept-Charset:UTF-8" ,
"Accept-Charset:UTF-8" ,
"Keep-Alive:300" ,
"Connection:close" ,
"Connection:Keep-Alive" ,
"Cache-Control:no-cache" } )
"Cache-Control:no-cache" } )
Observable < String > searchBook ( @Query ( "keyword" ) String content , @Query ( "pn" ) int page ) ;
Observable < String > searchBook ( @Query ( "keyword" ) String content , @Query ( "pn" ) int page ) ;
@ -33,8 +31,7 @@ public interface IGxwztvApi {
@Headers ( { "Accept:text/html,application/xhtml+xml,application/xml" ,
@Headers ( { "Accept:text/html,application/xhtml+xml,application/xml" ,
"User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3" ,
"User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3" ,
"Accept-Charset:UTF-8" ,
"Accept-Charset:UTF-8" ,
"Keep-Alive:300" ,
"Connection:close" ,
"Connection:Keep-Alive" ,
"Cache-Control:no-cache" } )
"Cache-Control:no-cache" } )
Observable < String > getBookContent ( @Url String url ) ;
Observable < String > getBookContent ( @Url String url ) ;
@ -42,8 +39,7 @@ public interface IGxwztvApi {
@Headers ( { "Accept:text/html,application/xhtml+xml,application/xml" ,
@Headers ( { "Accept:text/html,application/xhtml+xml,application/xml" ,
"User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3" ,
"User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3" ,
"Accept-Charset:UTF-8" ,
"Accept-Charset:UTF-8" ,
"Keep-Alive:300" ,
"Connection:close" ,
"Connection:Keep-Alive" ,
"Cache-Control:no-cache" } )
"Cache-Control:no-cache" } )
Observable < String > getChapterList ( @Url String url ) ;
Observable < String > getChapterList ( @Url String url ) ;
@ -51,8 +47,7 @@ public interface IGxwztvApi {
@Headers ( { "Accept:text/html,application/xhtml+xml,application/xml" ,
@Headers ( { "Accept:text/html,application/xhtml+xml,application/xml" ,
"User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3" ,
"User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3" ,
"Accept-Charset:UTF-8" ,
"Accept-Charset:UTF-8" ,
"Keep-Alive:300" ,
"Connection:close" ,
"Connection:Keep-Alive" ,
"Cache-Control:no-cache" } )
"Cache-Control:no-cache" } )
Observable < String > getKindBooks ( @Url String url ) ;
Observable < String > getKindBooks ( @Url String url ) ;
@ -60,8 +55,7 @@ public interface IGxwztvApi {
@Headers ( { "Accept:text/html,application/xhtml+xml,application/xml" ,
@Headers ( { "Accept:text/html,application/xhtml+xml,application/xml" ,
"User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3" ,
"User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3" ,
"Accept-Charset:UTF-8" ,
"Accept-Charset:UTF-8" ,
"Keep-Alive:300" ,
"Connection:close" ,
"Connection:Keep-Alive" ,
"Cache-Control:no-cache" } )
"Cache-Control:no-cache" } )
Observable < String > getLibraryData ( @Url String url ) ;
Observable < String > getLibraryData ( @Url String url ) ;
}
}