You just need to study the source code and find the correct element to look for. I think you might be able to loop through element again and click Download. ![]() However, it looks like it's URL encoded, so you'll need to convert it a bit. You will need to loop through elements and find whatever element that holds the info you need and extract it out. Since the site uses API to upload the data, you really don't have direct way of downloading PGN. MyString = Split(Split(y.innerHTML, "init('")(1), "''")(0)ĭim oPath As String: oPath = "C:\Test\myPGN.Text"Įnd SubYou will find the info you are looking for in there (I think there are some extra info). But if many settings had to be changed in order to, say, change from a theme suitable for Chess to one for Xiangqi, the user had to do that for each of them. If InStr(1, y.innerHTML, "[Full") > 0 Then ![]() Set x = ie.document.getElementsByTagName("div") ![]() If InStr(1, y.innerHTML, "icon-download") > 0 Then Set x = ie.document.getElementsByTagName("button")
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |