If anybody could point me in the right direction it would be greatly appreciated.
Code: Select all
// Titles
IEGetTagsByAttrib>domain.com/,H3,ID=title,T,title
// Video Links
IEGetTagsByAttrib>domain.com,A,classname=youtube,O,url
Let>k=1
While>k<%title_Count%
// Filter Title Array
let>titlestring=title_%k%
Let>pattern=.+?(?= \|)
RegEx>pattern,titlestring,0,titlematches,num,0
// Filter URL Array
let>urlstring=url_%k%
Let>pattern=^(https?\:\/\/)?(www\.youtube\.com|youtu\.?be)\/.+$
RegEx>pattern,urlstring,0,urlmatches,num,0
Let>title=titlematches_%k%
Let>url=urlmatches_%k%
Writeln>C:\Users\Shaolin Nick\Desktop\results.txt,res,%title%;%url%
Let>k=k+1
EndWhile
GoSub>CloseIE