Do
Dim hc As new HttpClient(CExp(ur, Functions.Execute("GetAccessToken")))
Dim jo As New JObject
jo("type") = typ
jo("offset") = offset
jo("count") = 20 \'一次最多获取20个
hc.Content = jo.ToString()
jo = JObject.Parse(hc.GetData)
MessageBox.Show(jo.Tostring)
If jo("errcode") Is Nothing Then
If CInt(jo("item_count")) = 0 Then
Exit Do
End If
For Each item As JToken In jo("item")
Dim dr As DataRow = DataTables("Materials").AddNew
dr("content_source_url") = item("content_source_url")
dr("digest") = item("digest")
dr("name") = item("title")