Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help to add user agents
#3
(May-01-2020, 10:50 AM)pyzyx3qwerty Wrote: Can you show the errors you are getting, while running the code?

root@MRT97:~/123(master)# python bot.py
  File "bot.py", line 10
    headers = {"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0"}
          ^
IndentationError: expected an indented block
what is the problem here
Reply


Messages In This Thread
help to add user agents - by MRT97 - Apr-30-2020, 09:42 PM
RE: help to add user agents - by pyzyx3qwerty - May-01-2020, 10:50 AM
RE: help to add user agents - by MRT97 - May-01-2020, 03:35 PM
RE: help to add user agents - by pyzyx3qwerty - May-01-2020, 03:38 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020