I have this plugin, through this i'm scraping the data.
[login to view URL]
I'm able to scrape succesfull all page data, but when i'm scraping Email ID which protected with cloudflare. its showing coded email. and i'm using below script to decode.
<script type="text/javascript">
/* <!--[CDATA[ */
var e, r, n, i, a = jQuery(".__cf_email__").data("cfemail");
for (e = "", r = parseInt([login to view URL](0, 2), 16), n = 2; [login to view URL] - n; n += 2) i = parseInt([login to view URL](n, 2), 16) ^ r, e += [login to view URL](i);
jQuery(".__cf_email__").parent().text(e);
/* ]]--> */
</script>
but this script its working only in browser base. when i'm checking in wordpress backend email id its not showing.
I have tried adding the php function like but it doesnt work. Please anyone can help to sort us this problem.
Copy the function as public function anywhere you want in [login to view URL]
public function deCFEmail($c){
$k = hexdec(substr($c,0,2));
for($i=2,$m='';$i<strlen($c)-1;$i+=2)$m.=chr(hexdec(substr($c,$i,2))^$k);
return $m;
}
Find this line on [login to view URL]
$meta_input[$key] = $value;
Add these code lines before that:
if($key == "your_custom_meta_field_name") {
$value = $this->deCFEmail($value);
}
And in your visual selector create a custom field for that e-mail area and select it. Replace your_custom_meta_field_name with the name you have given in this option.
attached is the plugin
the website i'm trying is
[login to view URL]
[login to view URL]
hello sir,
i can do your project.... please accept my bid so that i can start it... i m expert in this type of project... u can also see my portfolio... please sir accept my bid.. please
hope u will do
i m waiting for your response..
thank you.. :)
$20 USD w 0 dzień
4,9 (556 opinii)
7,2
7,2
8 freelancerzy składają oferty o średniej wysokości $21 USD dla tej pracy
Hi, I can parse email value for you by php code. Please hire me. I'm ready to work right now. This job can be done in 2 hours.
Relevant Skills and Experience
Expert developer with 7 years exp
Proposed Milestones
$20 USD - Milestone
Hi i have read project description and i am interested to do interesting project please give me chance to work on this project
Relevant Skills and Experience
Javascript, MySQL, PHP, Web Scraping, WordPress
Proposed Milestones
$17 USD - When completed
Hey there, I can do this with ease as I'm experienced Full Stack developer, working from last 6 years. TBH your budget doesn't match your requirement. Let's discuss this project further in a chat.
with 10 years experience in Wordpress, PHP, Woocommerce, SEO. I can help you finish projects which you probose. Please give me skype address. we can communicate each other easily.
Relevant Skills and Experience
with 10 years experience in Wordpress, PHP, Woocommerce, SEO. I can help you finish projects which you probose. Please give me skype address. we can communicate each other easily.
Proposed Milestones
$17 USD - all of you want in there