D
D
DMax9212018-02-27 01:31:59
WordPress
DMax921, 2018-02-27 01:31:59

WPGrabber duplicates images when importing, how to fix?

Hello, friends!
I understand that, most likely, no one has come across this plugin for grabbing content, but you never know ...
In general, when grabbing, the grabber saves one image twice, but I don’t understand how to fix it.
Here is the code on the donor site

<p><a href="https://forexcrunch-wpengine.netdna-ssl.com/wp-content/uploads/2018/02/GBPUSD-Technical-analysis-February-19-23-2018.png" rel="prettyPhoto"><img class="alignnone size-full wp-image-80025 no-display appear" src="https://forexcrunch-wpengine.netdna-ssl.com/wp-content/uploads/2018/02/GBPUSD-Technical-analysis-February-19-23-2018.png" alt="" width="1064" height="659" srcset="https://forexcrunch-wpengine.netdna-ssl.com/wp-content/uploads/2018/02/GBPUSD-Technical-analysis-February-19-23-2018.png 1064w, https://forexcrunch-wpengine.netdna-ssl.com/wp-content/uploads/2018/02/GBPUSD-Technical-analysis-February-19-23-2018-150x93.png 150w, https://forexcrunch-wpengine.netdna-ssl.com/wp-content/uploads/2018/02/GBPUSD-Technical-analysis-February-19-23-2018-300x186.png 300w, https://forexcrunch-wpengine.netdna-ssl.com/wp-content/uploads/2018/02/GBPUSD-Technical-analysis-February-19-23-2018-1024x634.png 1024w" sizes="(max-width: 1064px) 100vw, 1064px"></a></p>

I tried to add a processing filter with regular expressions, with the "Page before percing" parameter to remove everything unnecessary, but the filter does not find anything, or, most likely, the filter is not composed correctly.
Please tell me what could be wrong...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai, 2018-03-01
@DMax921

but the filter doesn't find anything...

The code that you view through the browser may differ from the one that the grabber grabs through curl:
tag attributes are swapped, double quotes instead of single quotes, etc.
Write, https://t.me/servakov I will help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question