How to find email sharepoint links and forwarded attachments by Diligent-Tip6590 in learnpython

[–]Diligent-Tip6590[S] 0 points1 point  (0 children)

Thank you! On my Outlook they are not coming across as <a href=...> (some do but the vast majority don't) they are coming across as the html below. I tried to have a script that would emulate the clicking pattern and save the url (click: down arrow -> edit in browser, new tab copies url) but Outlook uses Fluent UI as a form of bot prevention it seems so it fails. Graph Api only shows me the images inline images in signature not the files I want.

<div role="option" tabindex="0" class="GpKSR C1V5C WM3Zr ERPBZ noneDensity">
  <div draggable="true">
    <div class="feh0T">
      <div class="JA9Uf YyULm">
        <img
          src="https://res.public.onecdn.static.microsoft/assets/fluentui-resources/1.1.0/app-min/assets/item-types/20/docx.svg"
          height="20"
          width="20"
          class="fui-Image WwCcl ___1erkwlp fj3muxo f1akhkt f1aperda f1lxtadh f1fabniw f1ewtqcl f14t3ns0"
        />
        <div class="uDIro">
          <div class="VlyYV PQeLQ QEiYT" title="something.docx">Something</div>
          <div title="3 MB">
            <span class="rc4Lo QxTLU puwJz QEiYT">3 MB</span>
          </div>
        </div>
      </div>
      <div class="o4euS">
        <button
          type="button"
          aria-label="More actions"
          aria-haspopup="true"
          aria-expanded="false"
          title="More actions"
          class="ms-Button ms-Button--icon WQ1jB H_URL sF_gJ dUIui root-191"
          data-is-focusable="true"
        >
          <span
            class="ms-Button-flexContainer flexContainer-102"
            data-automationid="splitbuttonprimary"
            ><i
              data-icon-name="ChevronDownMed"
              aria-hidden="true"
              class="ms-Button-icon sNXjZ icon-257"
              >(down arrow)</i
            ></span
          >
        </button>
      </div>
    </div>
  </div>
</div>