|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
// ==UserScript==
|
|
|
|
|
// @name News parser
|
|
|
|
|
// @namespace http://zakonvremeni.ru
|
|
|
|
|
// @version 0.3
|
|
|
|
|
// @version 0.3.1
|
|
|
|
|
// @description Parse news
|
|
|
|
|
// @author AlexeiBv+mirocod@narod.ru
|
|
|
|
|
// @match https://tass.ru/*
|
|
|
|
@ -354,12 +354,12 @@
|
|
|
|
|
document, |
|
|
|
|
base_element_text, |
|
|
|
|
'.*Content_title.*', |
|
|
|
|
'.*Content_image.*', |
|
|
|
|
'.*(Content_image|RgPhotoreportClassic).*', |
|
|
|
|
'(PageContentCommonStyling_text|.*Content_lead).*', |
|
|
|
|
ElementCheckerTrue, |
|
|
|
|
SubElementCheckerToRemoveTemplate( |
|
|
|
|
'portal|rg-incut|article-img|Section', |
|
|
|
|
'RG-VIDEO|RG-INCUT' |
|
|
|
|
'RG-VIDEO|RG-INCUT|RG-PHOTOREPORT' |
|
|
|
|
), |
|
|
|
|
[] |
|
|
|
|
); |
|
|
|
|