Note: the dnd text is two lines: one is the URL, the second is the visible text. Process only the first line, as expected.
g-t contains a few safety check (data_format needs to be 8, etc.) which I didn't care porting, but feel free to make it more robust.
Note: the dnd text is two lines: one is the URL, the second is the visible text. Process only the first line, as expected.
g-t contains a few safety check (data_format needs to be 8, etc.) which I didn't care porting, but feel free to make it more robust.