2009-05-14, 14:19
Hi nothingcool
No, there is not yet a tutorial
For every item with "type=video", the plugin will use "catcher.list" to find out the direct url (and only the url) of the video
If this is not needed, the type must be set to "direct.video"
Until the plugin is able to set a username and password for every site, the released versions of videomokey will not handle paid sites
bye,
sfaxman...
nothingcool Wrote:Is there a tutorial on VideoMonkey somewhere? I've tried to add new content to VideoMonkey, but can't seem to get anything working.
No, there is not yet a tutorial
nothingcool Wrote:In particular, I'd like to add the ability to global search easynews through videomonkey, but I'm not sure of the order VideoMonkey uses to parse the data. Since this is a paid site, I don't expect that this will be added to any VideoMonkey release, but the ability to search Easynews would be really handy to anyone with an account.
I'm very confused about the order of the files... when does videomonkey use a cfg file (in my case easynews.com.cfg) and when does it use the info in catcher.list?
For every item with "type=video", the plugin will use "catcher.list" to find out the direct url (and only the url) of the video
Code:
item_info_name=type
item_info_build=video
Code:
item_info_name=type
item_info_build=direct.video
nothingcool Wrote:For my CFG file, I've got the following. The URL below is the location to perform a search and the %s in the url below will submit a search query to easynews.OK
Code:# Search
########################################################
title=Search
type=search
icon=search.png
url=http://USERNAME:[email protected]/global4/search.html?gps=autounrar&sbj=%s&from=&ns=&fil=&fex=avi&vc=&ac=&s1=dtime&s1d=-&s2=nrfile&s2d=%2B&s3=dsize&s3d=%2B&pby=1000&pno=1&sS=0&u=1&plain=1&svL=&d1=&d1t=&d2=&d2t=&b1=&b1t=&b2=&b2t=&px1=&px1t=&px2=&px2t=&fps1=&fps1t=&fps2=&fps2t=&bps1=&bps1t=&bps2=&bps2t=&hz1=&hz1t=&hz2=&hz2t=&rn1=&rn1t=&rn2=&rn2t=&fly=2
########################################################
nothingcool Wrote:Once this is run, the regex required to parse the videos from the result is this, in the format URL and then TITLE:This rule belong to the "catcher.list" file. But as I said, only the url will be discovered here. Other infos (e.g the title) are to be defined in the cfg file
Code:<input id="z.*?href="([^"]+)".*?<br/>([^<]+)</a>
These urls will all be direct links to .avi files and can be directly played, so just want to list these results and then click on them to play the result.
nothingcool Wrote:Since easynews is a pay site, I've pasted part of a sample result page so you can see if the regex works. So where do I put the regex? In a videos section under the cfg file, in catcher.list or in both? As it works now, this returns just search again, no results.
Below is a segment of the easynews result page searching for "something"... thanks for any help in advance.
Code:<input id="z1" class="checkbox" type="checkbox" name="1" value="afcd8fbeaae4b819a6b5518485612fe30a334f4d406079"><a href="http://downloads.members.easynews.com/news/a/f/c/afcd8fbeaae4b819a6b5518485612fe30a334f4d4.avi/er.s04e02.something.new.ws.avi" target="subjTarget" >FTWclub zoekt Posters en Spotters [035/173] - "er.season.04.complete.part034.rar" (01/86)<br/>(er.s04e02.something.new.ws.avi AutoUnRAR)</a> <a href="/header2.html?m=afcd8fbeaae4b819a6b5518485612fe30a334f4d4" target="headerPage">[header]</a> <a href="http://downloads.members.easynews.com/news/a/f/c/th-afcd8fbeaae4b819a6b5518485612fe30a334f4d4.jpg/th-er.s04e02.something.new.ws.jpg" target="thumblarge2">[thumb]</a> 347.70 MB <a href="/idx.html?group=alt.binaries.multimedia" target="display2">alt.binaries.multimedia</a> <a href="/group.html?group=alt.binaries.multimedia" target="display2">[old]</a> 11-May <a href="/global4/search.html?from=notyour%40domain%5C.nl+%5C%28FirelessLoon%5C%29">[email protected] (FirelessLoon)</a> <br>
<input id="z2" class="checkbox" type="checkbox" name="2" value="58e12d2179a51453c215a9b462e3dd89070c31b5109b70"><a href="http://downloads.members.easynews.com/news/5/8/e/58e12d2179a51453c215a9b462e3dd89070c31b51.avi/S02E16%20-%20There%27s%20Something%20about%20Paulie.avi" target="subjTarget" >The Revivals ][ AVI ][ Revivals_125971 ] [26/42] - "Revivals_125971.part25.rar" posted for FTN<br/>(001/131) (S02E16 - There's Something about Paulie.avi AutoUnRAR)</a> <a href="/header2.html?m=58e12d2179a51453c215a9b462e3dd89070c31b51" target="headerPage">[header]</a> <a href="http://downloads.members.easynews.com/news/5/8/e/th-58e12d2179a51453c215a9b462e3dd89070c31b51.jpg/th-S02E16%20-%20There%27s%20Something%20about%20Paulie.jpg" target="thumblarge2">[thumb]</a> 73.49 MB <a href="/idx.html?group=alt.binaries.ftn" target="display2">alt.binaries.ftn</a> <a href="/group.html?group=alt.binaries.ftn" target="display2">[old]</a> 09-May <a href="/global4/search.html?from=therevivals%40live%5C.nl+%5C%28The+Revivals%5C%29">[email protected] (The Revivals)</a> <br>
ttp://downloads.members.easynews.com/news/a/c/9/ac94464eca938848ea1f7a8b5d40410c07cb52a8e.avi/Something.About.Mary.avi" target="subjTarget" >Binaries4ever.net, powered by www.xennews post: There's.Something.About.Mary.BRRip.XviD.AC3( [44/46] -<br/>"Mary.r43" yEnc (01/44) (Something.About.Mary.avi AutoUnRAR)</a> <a href="/header2.html?m=ac94464eca938848ea1f7a8b5d40410c07cb52a8e" target="headerPage">[header]</a> <a href="http://downloads.members.easynews.com/news/a/c/9/th-ac94464eca938848ea1f7a8b5d40410c07cb52a8e.jpg/th-Something.About.Mary.jpg" target="thumblarge2">[thumb]</a> 2.05 GB <a href="/idx.html?group=alt.binaries.boneless" target="display2">alt.binaries.boneless</a> <a href="/group.html?group=alt.binaries.boneless" target="display2">[old]</a> 08-May <a href="/global4/search.html?from=Yenc%40power-post%5C.org+%5C%28extreme+snakes%5C%29">[email protected] (extreme snakes)</a> <br>
ttp://downloads.members.easynews.com/news/f/4/d/f4de11a3c2c9dcf0cd2c16f0a886d2ea0b12d8458.avi/Da%20She%20%281980%29.avi" target="subjTarget" >(Something different) [40/46] - "Da She (1980).part37.rar" yEnc (01/17) (Da She (1980).avi AutoUnRAR)</a> <a href="/header2.html?m=f4de11a3c2c9dcf0cd2c16f0a886d2ea0b12d8458" target="headerPage">[header]</a> <a href="http://downloads.members.easynews.com/news/f/4/d/th-f4de11a3c2c9dcf0cd2c16f0a886d2ea0b12d8458.jpg/th-Da%20She%20%281980%29.jpg" target="thumblarge2">[thumb]</a> 702.03 MB <a href="/idx.html?group=alt.binaries.sleazemovies" target="display2">alt.binaries.sleazemovies</a> <a href="/group.html?group=alt.binaries.sleazemovies" target="display2">[old]</a> 30-Apr <a href="/global4/search.html?from=Torchy%40invalid%5C.ca+%5C%28Torchy%5C%29">[email protected] (Torchy)</a> <br>
Until the plugin is able to set a username and password for every site, the released versions of videomokey will not handle paid sites
bye,
sfaxman...