#75 _huro: strip links to provideo.ro

none
closed-fixed
nobody
5
2014-04-10
2010-12-18
pojar george
No

Add new line for remove syntax between "DVD" and "BLU-RAY" in port.ro sponsor link

===================================================================
340 # strip links to divido.hu
new line $data =~ s|(<a class=\"navs.*?</a>).*?(<a class=\"navs.*?</a>)||g;
341 $data =~ s|<a class=\"navs.*?</a>||g;
===================================================================

for remove syntax between DVD and BLU-RAY in port.ro sponsor link

Ex: "Diamantul sângeriu DVD şi Blu-ray"

<span class="mtxt"><a class="navs" href="http://www.provideo.ro/catalogs/product.aspx?imdb=tt0450259&amp;type=DVD" target="_blank">Diamantul sângeriu&nbsp;DVD</a></span>&nbsp;şi&nbsp;<span class="mtxt"><a class="navs" href="http://www.provideo.ro/catalogs/product.aspx?imdb=tt0450259&amp;type=BD" target="_blank">Blu-ray</a>

Discussion

  • pojar george
    pojar george
    2011-01-17

    patch

     
    Attachments
  • pojar george
    pojar george
    2011-01-17

    errata: + $data =~ s|&nbsp..&nbsp;||g;

     
  • Karl Dietz
    Karl Dietz
    2011-07-02

    • summary: strip links to provideo.ro --> _huro: strip links to provideo.ro
     
  • Geoff
    Geoff
    2014-04-10

    • status: open --> closed-fixed
    • Group: --> none
     
  • Geoff
    Geoff
    2014-04-10

    Thanks but I won't apply this patch - it's too generic (i.e. it is likely to delete other stuff besides the targeted links). I believe the patch applied in version 1.47 fixed this issue.