Die Suche ergab 4 Treffer

von fourseason46
Freitag 27. März 2015, 04:19
Forum: Netzwerkprogrammierung
Thema: How do I post new Articles on DataLife Engine (DLE)
Antworten: 0
Zugriffe: 66209

How do I post new Articles on DataLife Engine (DLE)

I have a DLE page: http://www.muchstuff.byethost18.com/
Now, I want post new Articles on this site by python script.
Can anyone help me:
user: abcdbvbv
pass: 123456

Login address : http://www.muchstuff.byethost18.com/admin.php?mod=options&action=options
Submit new article address: http://www ...
von fourseason46
Dienstag 13. Mai 2014, 10:50
Forum: Netzwerkprogrammierung
Thema: Paste and copy from textbox, click button in a webpage.
Antworten: 1
Zugriffe: 1402

Paste and copy from textbox, click button in a webpage.

I'm writing one python program, it is the task:
Paste the html script into a textbox, click the convert button, and then copy from the textbox in a webpage:
http://www.seabreezecomputers.com/html2bbcode/
Who can help me, I thank you sincerely.
von fourseason46
Mittwoch 7. Mai 2014, 10:05
Forum: Netzwerkprogrammierung
Thema: Problem with Get html from thepiratebay.se
Antworten: 4
Zugriffe: 5575

Re: Problem with Get html from thepiratebay.se

If I use (previously it was ok)
def get_html(url):

hdr = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'Accept-Charset': 'ISO-8859-1,utf-8;q ...
von fourseason46
Mittwoch 7. Mai 2014, 08:35
Forum: Netzwerkprogrammierung
Thema: Problem with Get html from thepiratebay.se
Antworten: 4
Zugriffe: 5575

Problem with Get html from thepiratebay.se

I'am trying get content the page http://thepiratebay.se/top/201 . But they encode the content.
I try using below code:

def get_html(url):

hdr = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11',
'Accept': 'text/html ...