Navigation

    OpenBullet

    OpenBullet

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Awards
    1. Home
    2. thanhlouis
    T
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    thanhlouis

    @thanhlouis

    4
    Reputation
    17
    Posts
    104
    Profile views
    2
    Followers
    0
    Following
    Joined Last Online

    thanhlouis Follow

    Posts made by thanhlouis

    • RE: OpenBullet - Nested IF Statement (TXT Utility)
      FUNCTION Constant "1500" -> VAR "Balance" 
      
      IF "<Balance>" Greaterthan "99.99"
      IF "<Balance>" Lessthan "199.99"
      
      PRINT SUCCESS
      
      ELSE
      
      IF "<Balance>" Greaterthan "199.99"
      IF "<Balance>" Lessthan "299.99"
      
      PRINT SUCCESS2
      
      ELSE
      
      IF "<Balance>" Greaterthan "299.99"
      IF "<Balance>" Lessthan "499.99"
      
      PRINT SUCCESS3
      
      ELSE
      
      IF "<Balance>" Greaterthan "499.99"
      IF "<Balance>" Lessthan "699.99"
      
      PRINT SUCCESS4
      
      ELSE
      
      IF "<Balance>" Greaterthan "699.99"
      IF "<Balance>" Lessthan "899.99"
      
      PRINT SUCCESS5
      
      ELSE
      
      IF "<Balance>" Greaterthan "899.99"
      IF "<Balance>" Lessthan "999.99"
      
      PRINT SUCCESS6
      
      ELSE
      
      IF "<Balance>" Greaterthan "999.99"
      IF "<Balance>" Lessthan "1499.99"
      
      PRINT SUCCESS7
      
      ELSE
      
      IF "<Balance>" Greaterthan "1499.99"
      
      PRINT SUCCESS8
      
      ENDIF
      
      posted in Questions
      T
      thanhlouis
    • RE: Open Bullet download link

      https://github.com/openbullet/openbullet/releases/download/1.1.5%23384/OpenBullet.zip

      posted in Questions
      T
      thanhlouis
    • RE: Help with If statements

      response code or source ?
      If response code:

      IF "<RESPONSECODE>" Contains "204"
      
      SET VAR "Present" "true"
      
      ENDIF
      

      If source:

      IF "<SOURCE>" Contains "204"
      
      SET VAR "Present" "true"
      
      ENDIF
      
      posted in Questions
      T
      thanhlouis
    • RE: Parsing url token question

      @jorbeto
      Why not use

      PARSE "<ADDRESS>" LR "" "" -> VAR "" 
      

      ?????
      Print before parse for what ?

      Just

      REQUEST GET "https://example.com" 
        
        HEADER "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko" 
        HEADER "Pragma: no-cache" 
        HEADER "Accept: */*" 
      
      PARSE "<ADDRESS>" LR "token=" "" -> VAR "token" 
      

      <ADDRESS>not <address>

      posted in Questions
      T
      thanhlouis
    • RE: How to work on multiple parsed data (need help with loops or smth)

      Hope can help you:

      REQUEST GET "https://pastebin.com/raw/C7Y8xJ8k" 
        
        HEADER "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko" 
        HEADER "Pragma: no-cache" 
        HEADER "Accept: */*" 
      
      PARSE "<SOURCE>" REGEX "(\\d+)" "[1]" Recursive=TRUE -> VAR "id" 
      
      IF "<id>" Contains ","
      
      FUNCTION CountOccurrences "," "<id>" -> VAR "count" 
      
      FUNCTION Compute "<count>+1" -> VAR "count2" 
      
      SET VAR "test" "0"
      WHILE "<test>" LessThan "<count2>"
      
      REQUEST GET "https://pastebin.com/raw/TvQ09uGi" 
        
        HEADER "custom: <id[<test>]>" 
      
      FUNCTION Compute "<test>+1" -> VAR "test" 
      
      ENDWHILE
      ELSE
      
      FUNCTION Replace "\[|\]" "" UseRegex=TRUE "<id>" -> VAR "id2" 
      
      REQUEST GET "https://pastebin.com/raw/TvQ09uGi" 
        
        HEADER "custom: <id2>" 
      
      ENDIF
      
      
      posted in Questions
      T
      thanhlouis
    • RE: Parsing data from complex Html

      Many ways can do that:

      1. LR + FUNTION REPLACE
      PARSE "<SOURCE>" LR "<h2>Active Plan</h2>" "</p>" -> VAR "PLAN" 
      
      FUNCTION Replace "<p>" "" "<PLAN>" -> CAP "Plan" 
      
      1. LR + FUNTION TRANSLATE
      PARSE "<SOURCE>" LR "<h2>Active Plan</h2>" "</p>" -> VAR "PLAN" 
      
      FUNCTION Translate StopAfterFirstMatch=TRUE
        KEY "<p>" VALUE "" 
        "<PLAN>" -> CAP "Plan" 
      
      1. REGEX
      PARSE "<SOURCE>" REGEX "<h2>Active Plan</h2>\\s+<p>(.*)</p>" "[1]" CreateEmpty=FALSE -> CAP "Plan" 
      

      And they will have the response not contain "Active Plan", you should use IF
      Example:

      IF "<SOURCE>" Contains "Active Plan"
      
      PARSE "<SOURCE>" REGEX "<h2>Active Plan</h2>\\s+<p>(.*)</p>" "[1]" CreateEmpty=FALSE -> CAP "Plan" 
      
      ENDIF
      
      posted in Questions
      T
      thanhlouis
    • RE: Please help get information in source

      REGEX

      PARSE "<SOURCE>" REGEX "\[\\{\"id\":\"alpha.([a-z0-9]{32})\",\"nameLocalizationKey\":\"([a-zA-Z._]+)\",\"fulfillment\":" "[2]" -> VAR "2" 
      
      PARSE "<SOURCE>" REGEX ",\\{\"id\":\"alpha.([a-z0-9]{32})\",\"nameLocalizationKey\":\"([a-zA-Z._]+)\",\"fulfillment\":" "[2]" -> VAR "3" 
      
      

      I'm learning regex haha. Hope can help you ^^

      posted in Questions
      T
      thanhlouis
    • RE: Copy - Paste (Selenium OpenBullet)

      Copy what ? On website ? If on website you can use action "GetText" or block Parse to "copy" text

      posted in Questions
      T
      thanhlouis
    • RE: translate how

      one:1
      two:2
      .....

      posted in Questions
      T
      thanhlouis