1win Partners - leading affiliate program
1win Partners is a leading affiliate program, known for its high engagement strategies, competitive payouts and flexible earning models.

Help with cleaning up scraped Vue lander

Partners.House

PaulP

Super Contributor
Joined
Jun 15, 2018
Messages
114
Hey guys,

I've scraped a lander which contains a few lines of Vue elements like these:

HTML:
<vue-facebook-comment avatar="./img/[email protected]" name="Mia Koch"  message="Can you help me? I just  won an gift card!! What should  I do now?" :likes="12" like-text="Like" reply-text="Reply"  since-text="55 minutes" v-on:reply="$refs.reply.focus()"></vue-facebook-comment>

Now there seems to be some CSS and/or JS and/or Vue components missing as there's an obvious discrepancy between original and my version.

ORIGINAL:
1733675477664-png.60081


MY VERSION:
1733675546492-png.60082

Please disregard the difference in name and photo as they are rotating those. Now I want to fix those &middot; entities which are NOT part of the HTML code but must be hidden somewhere else. Basically I want to get rid of those weird  characters before the middots.

Inside app.js I found references to some Vue components (template.vue.html and vue/server-renderer):

JavaScript:
function  ll(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:s=!1,filename:r="template.vue.html",scopeId:i=null,optimizeImports:o=!1,runtimeGlobalName:l="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:f="vue/server-renderer",ssr:u=!1,isTS:a=!1,inSSR:d=!1}){const y={mode:t,prefixIdentifiers:n,sourceMap:s,filename:r,scopeId:i,optimizeImports:o,runtimeGlobalName:l,runtimeModuleName:c,ssrRuntimeModuleName:f,ssr:u,isTS:a,inSSR:d,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(T){return`_${bn[T]}`},push(T,P){y.code+=T},indent(){_(++y.indentLevel)},deindent(T=!1){T?--y.indentLevel:_(--y.indentLevel)},newline(){_(y.indentLevel)}};

So what would you recommend going forward from here to fix this please?
 
Last edited:
To view the premium content in our affiliate marketing forum (including this awesome thread), you must first register and upgrade your account. Register today and become a part of our amazing community!
Top