ItsMods

Full Version: Part of HTML missing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am making a tool for BF3, long story what it does. For now all I need it to do is just get the URL of battlelog page of server the user is currently playing on. What I did is made a webclient go to users page in origin and there is a line saying "Nukem on BLAH BLAH MAYHEM SERVER"
Gmahn: So I need to get that server link from HTML page
Gmahn: in chrome it is ALWAYS on line 888
[00:38:20] Artem Kuzin: in textbox where I was storing code I found it around 570-580 lines
[00:38:30] Artem Kuzin: and the weirdest thing is that it goes kinda like
[00:38:33] Artem Kuzin: A
B
C
[00:38:37] Artem Kuzin: where B is what I need
[00:38:41] Artem Kuzin: so I found A and C
[00:38:51] Artem Kuzin: and then manually, by line, searched between them
[00:38:54] Artem Kuzin: and there is NOTHING
[00:38:59] Artem Kuzin: it is just
A
C
[00:39:03] Artem Kuzin: without B
[00:39:10] Artem Kuzin: LITERALLY empty space


okay being more specific
[00:42:30] Artem Kuzin: line 584
[00:42:42] Artem Kuzin: is A
[00:42:50] Artem Kuzin: then line 585 is C
[00:43:14] Artem Kuzin: inbetween them there is supposed to be B. and not just one but whole 12 lines are missing
[00:43:27] Artem Kuzin: and that explains why I couldnt do it the automatic way - I couldnt find the line
[00:43:33] Artem Kuzin: simply because IT WAS NOT THERE
[00:43:43] Artem Kuzin: but whyy?
[00:44:01] Artem Kuzin: I can see it if I check source of page manually from my laptop from the same account the app uses
Thank you, dear ItsModders, for such a fast and thoughtful help!
I fixed that myself, just tried another method of getting HTML. For some reason everything that had to do with webclients and webrequests ignored some parts of code. However, when I tried more simple way (just make a small not visible webbrowser, navigate it to page and then just read the browser code) - it worked.
THE THREAD IS ANNOUNCED CLOSED.
Inside your closed topic:
@surtek can help you with that, he have tried so many things on Battlelog.
(08-02-2013, 10:59)TheRaZ Wrote: [ -> ]Inside your closed topic:
@surtek can help you with that, he have tried so many things on Battlelog.

Yes, but he is on vacation (hence no active moderators btw)
And also I solved it Tongue
(08-02-2013, 10:24)Arteq Wrote: [ -> ]Thank you, dear ItsModders, for such a fast and thoughtful help!
I fixed that myself, just tried another method of getting HTML. For some reason everything that had to do with webclients and webrequests ignored some parts of code. However, when I tried more simple way (just make a small not visible webbrowser, navigate it to page and then just read the browser code) - it worked.
THE THREAD IS ANNOUNCED CLOSED.

You can't expect someone with expertise on this subject to reply within 12 hours on a mostly dead forum. The sarcasm makes you look like a total retard right now.
(08-02-2013, 17:51)Pozzuh Wrote: [ -> ]
(08-02-2013, 10:24)Arteq Wrote: [ -> ]Thank you, dear ItsModders, for such a fast and thoughtful help!
I fixed that myself, just tried another method of getting HTML. For some reason everything that had to do with webclients and webrequests ignored some parts of code. However, when I tried more simple way (just make a small not visible webbrowser, navigate it to page and then just read the browser code) - it worked.
THE THREAD IS ANNOUNCED CLOSED.

You can't expect someone with expertise on this subject to reply within 12 hours on a mostly dead forum. The sarcasm makes you look like a total retard right now.

Well I wanted a fast answer because I knew I could solve it myself in next 24 hours, I just wanted to get the solution asap. Also I don't have any alternatives to itsmods - tell me where to go? I have no clue, maybe you do.
Stackoverflow?
(08-02-2013, 18:28)Pozzuh Wrote: [ -> ]Stackoverflow?

it takes long time for someone to answer your question
(08-02-2013, 20:22)Arteq Wrote: [ -> ]
(08-02-2013, 18:28)Pozzuh Wrote: [ -> ]Stackoverflow?

it takes long time for someone to answer your question

Nope....i get answers in 15mins>

Sent from my E16i using Tapatalk 2