I'm struggling to make an Applescript that gets the URL of a specific button on Safari and then copies it to the clipboard.
This is the source code:
<div id="corpo_titulo_direita">…</div>
<a id="link-questao" class="botao-toolbar" target="_blank" original-title="Link para esta questão" href="/conteudo/questoes/319756"></a>
</div>
I want to extract the variable number (in the example above "319756"), attach it to the fixed part "https://www.tecconcursos.com.br/conteudo/questoes/" and copy to the clipboard the resulting URL "https://www.tecconcursos.com.br/conteudo/questoes/319756" .
Many thanks in advance!
برچسب:
نویسنده: استخدام کار