commit fd239246db5b3bd2289a96b57ffea99466557449
parent 556ff63d8aebf0ee0c039d17640aec9702a566be
Author: Dominik Schmidt <das1993@hotmail.com>
Date: Tue, 30 Jun 2015 21:50:32 +0200
Remove the silly translatelink.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/Fb2RSS.d b/Fb2RSS.d
@@ -136,6 +136,10 @@ class FBStream : RandomFiniteAssignable!(Post){
if(usercontent.length==0){
return;
}
+ XmlNode[] translatediv=usercontent[0].parseXPath(`/div[@class="_43f9"]`);
+ if(translatediv.length>0){
+ usercontent[0].removeChild(translatediv[0]);
+ }
SysTime t=SysTime(unixTimeToStdTime(to!ulong(match.getAttribute("data-time"))));
XmlNode[] href=match.parseXPath(`//a[@class="_5pcq"]`);
posts~=Post(usercontent[0],t,href[0].getAttribute("href"));