Jump to content
UBot Underground

cob007

Members
  • Content Count

    352
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by cob007

  1. i am scraping 10 helpful votes from the following page using xpath

     

    https://www.amazon.com/Girl-Wash-Your-Face-Believing/product-reviews/B077GZBL1Y/ref=cm_cr_arp_d_paging_btm_next_8?ie=UTF8&pageNumber=8&reviewerType=all_reviews&mediaType=media_reviews_only

     

    set(#_httpRequestSingleReview,$plugin function("HeopasCustom.dll", "$Heopas HTTP Get", "https://www.amazon.com/Girl-Wash-Your-Face-Believing/product-reviews/B077GZBL1Y/ref=cm_cr_arp_d_paging_btm_next_8?ie=UTF8&pageNumber=8&reviewerType=all_reviews&mediaType=media_reviews_only","", "", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0", "", ""),"Global")

     

    add item to list(%helpful1,$list from text($plugin function("HTTP post.dll", "$xpath parser", #_httpRequestSingleReview, "//div[@class=\"a-row a-spacing-small\"]/span[@class=\"a-size-base a-color-tertiary cr-vote-text\"]", "InnerText", "HTML"),$new line),"Don\'t Delete","Global")

     

     

    As you can see one of the element is missing, and it gets only 9 items instead of 10 and skips the missing element because one of the vote element is not there

     

    So i think the possible solution is  to find offset for this and scrape each item seperately, but how to get correct offset and avoid missing element because whenever i added offset it returned no  elements

     

  2.  I wanted to create sliding menu like this one and ive a small button that says click to view attached to the menu, the stackpanel margin enlarges and it shows all the menu items by using this command of margin property, but the issue is i can only get it to show the menu but  what if i want the user to be click button close to it  like if the user clicks the 'click to view' attached to the menu and if user clicks that button again the stackpanel will become small and user will not be able to view the menu items, and then he has to click the button again to view items, sort of like hamburger menu but user can click to view anytime to view expanded menu and can shrink it anytime

     

    So ive been able to expand it but then since its attached to a define and button, i cannot use the same button to run a different code to shrink the menu if user decides to click button again to shrink the menu

     

    for showing menu when user clicks button attached to the menu

     

    plugin command("UltimateUI.dll", "UI Set Property", "Margin", "DescriptionRightSidePanel", "0,51,-20,528.6")

     

    so menu hiding code, have to use same define which is problem

     

    plugin command("UltimateUI.dll", "UI Set Property", "Margin", "DescriptionRightSidePanel", "0,51,-200,528.6")

     

    and here is example but this uses code behind and this is not using a button though(ive a small button that says click to view

     

    https://fooobar.com/questions/14536876/slider-menu-in-wpf-by-kinect

     

     

     

  3. Sorry i wasn't clear, here is what i trying to do

     

    1. I want to scrape all these reviews from kindle,

     

    https://www.amazon.com/Girl-Wash-Your-Face-Believing/product-reviews/1400201659/ref=cm_cr_dp_d_show_all_btm?ie=UTF8&reviewerType=all_reviews

     

    If you see each page has 10 reviews,

     

    so for that im using http request and getting all the data using xpath which gives me 11 list items with one blank list item which can be removed

     

    set(#rr,$plugin function("HeopasCustom.dll", "$Heopas HTTP Get", "https://www.amazon.c...s&pageNumber=1", "", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0", "", "", ""),"Global")
    wait(5)
    add list to list(%review,$list from text($plugin function("HTTP post.dll", "$xpath parser", #rr, "//span[@class=\"a-size-base review-text review-text-content\"], "InnerText", "HTML"),$new line),"Delete","Global")

    2. But since i want to display the scraped data on a datagrid( but not all on a single line otherwise user will have to use the scrollviewer of the datagrid extensively to read, so i want to split that review text at 150 or 200 lines for easy reading , for which im trying to call this custom function  at the same time

     

    define $new(#var) {
        set(#count,$text length(#var),"Global")
        set(#charactersperline,200,"Global")
        set(#charcnt,0,"Global")
        set(#index,"-1","Global")
        loop(#count) {
            increment(#index)
            increment(#charcnt)
            set(#letter,$substring(#var,#index,1),"Global")
            if($both(#charcnt > #charactersperline,#letter = " ")) {
                then {
                    set(#line,"{#line}{$new line}","Global")
                    set(#charcnt,0,"Global")
                }
                else {
                    set(#line,"{#line}{#letter}","Global")
                }
            }
        }
        return(#line)

     

    3. So combining the scraping and this custom function as below final code, the result im getting you see in the notepad attached where all the scraped items are broken into 200 lines but i want them to be on seperate list items but they are getting combined into a singe list item.

     

    clear all data
    set(#rr,$plugin function("HeopasCustom.dll", "$Heopas HTTP Get", "https://www.amazon.com/Girl-Wash-Your-Face-Believing-ebook/product-reviews/B072TMB75T/ref=cm_cr_getr_d_paging_btm_prev_1?ie=UTF8&reviewerType=all_reviews&pageNumber=1", "", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0", "", "", ""),"Global")
    add list to list(%review,$list from text($new($plugin function("HTTP post.dll", "$xpath parser", #rr, "//span[@class=\"a-size-base review-text review-text-content\"]", "InnerText", "HTML")),""),"Delete","Global")
    define $new(#var) {
        set(#count,$text length(#var),"Global")
        set(#charactersperline,200,"Global")
        set(#charcnt,0,"Global")
        set(#index,"-1","Global")
        loop(#count) {
            increment(#index)
            increment(#charcnt)
            set(#letter,$substring(#var,#index,1),"Global")
            if($both(#charcnt > #charactersperline,#letter = " ")) {
                then {
                    set(#line,"{#line}{$new line}","Global")
                    set(#charcnt,0,"Global")
                }
                else {
                    set(#line,"{#line}{#letter}","Global")
                }
            }
        }
        return(#line)
    }
     
    In order to save coding multiple defines, i was trying to call the custom function of breaking the text into 200 lines each line at the same time.
     
    So in short, i want to scrape all the reviews from the kindle review page, then split each line of those reviews into 150-200 lines max and then show them as separate list items
    but right now everything is being shown in single list item.

    review.txt

  4. Can you paste some of the text using the code button on the wysiwyg editor.

    HI Nick,

     

    1. I am able to split it into seperate list items using new line,

     

    set(#rr,$plugin function("HeopasCustom.dll", "$Heopas HTTP Get", "https://www.amazon.com/Girl-Wash-Your-Face-Believing-ebook/product-reviews/B072TMB75T/ref=cm_cr_getr_d_paging_btm_prev_1?ie=UTF8&reviewerType=all_reviews&pageNumber=1", "", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0", "", "", ""),"Global")

    wait(5)

    add list to list(%review,$list from text($plugin function("HTTP post.dll", "$xpath parser", #rr, "//span[@class=\"a-size-base review-text review-text-content\"][1]", "InnerText", "HTML"),$new line),"Delete","Global")

     

    The above  code gives 11 list items with single blank item

     

    2. However i want to break the text because i dont want entire text show it as a line and for which i was calling a seperate function to do the same as below, however if i call this function the  text is no longer part of seperate list items.

     

    define $new(#var) {

        set(#count,$text length(#var),"Global")

        set(#charactersperline,200,"Global")

        set(#charcnt,0,"Global")

        set(#index,"-1","Global")

        loop(#count) {

            increment(#index)

            increment(#charcnt)

            set(#letter,$substring(#var,#index,1),"Global")

            if($both(#charcnt > #charactersperline,#letter = " ")) {

                then {

                    set(#line,"{#line}{$new line}","Global")

                    set(#charcnt,0,"Global")

                }

                else {

                    set(#line,"{#line}{#letter}","Global")

                }

            }

        }

        return(#line)

     

     if i try to call the above function inside while scraping like this, it still shows up as a single list item

     

    add list to list(%review,$list from text($new($plugin function("HTTP post.dll", "$xpath parser", #rr, "//span[@class=\"a-size-base review-text review-text-content\"]", "InnerText", "HTML")),""),"Delete","Global")

     

    I have also attached the text

    review.txt

  5. You compiled with the desktop software to lock them down the same as you have always done.

     

    The bundle checks the project name sold, or given away name.

     

    Then issues the projects attached to that bundle.  A separate email is sent out for each project that is attached to the bundle.

     

     

     

    With the wordpress plugin it will display key information as well as reset url for your users to click

    Also shows remaining resets they have allowed 

    Otherwise direct them to www.yoursite/lockerfolder/reset

     

    Here they will enter their email and key

    and click reset and it will reset the activation on that key email pair.

     

     

    Resets can be done 30 days apart from each other.

     

     

    if you see meters document last page, as in attache image, we need to make following changes in the aweber optin form, which is to add our roject name, so if we want to distribute bundles we have to add the bundle name instead of project name and when user will optin for free he will receive license keys for all the softwares in the bundle

    post-16700-0-52844100-1575574656_thumb.png

  6. also im distributing some free licenses using meters aweber optin allowed email list builders option.

     

    So let us say if i want to use the same feature using a bundle feature provided by you and for examle let us say

     

    I have a BOT A AND BOT B Which i add to a bundle name 'FREEBOTS

     

    Since you mentioned that bundle name acts like a pproject name, so now while compiling the bots using ubot locker, do i have to compile the exe of both the bots and distribute with the project name entered in the ubot locker as FREEBOTS, then where is the secret key

     

    So can u show how to complie and distribute bots when they are bundled using meter system, because does bundle act like a new project or is it that we dont have to use the meter licensig sysem to creat the freebots.exe,

     

    sorry the bundle feature is interesting but eactly how to lock and distribute bots is not clear, best examle would be if  i want to use the list builders option and connect to aweber thenwhen user opts in how 2 licenses wil be emailed to him with download links for 2 bots from a bundle is not clear

  7. also let us say i want

     

    The ipn file is included in the download zip, just have to point thrive ipn calls to the file.

    your project name in thrive matches the project name in bundles, or projects inside the admin panel.

    no sorry i meant this;

     

    thankyou very much, can you show a video how reset license works from subscriber point of view as its always confusing when to reset, whether changing system, etc and what will happen i,e if they exceed number of resets, what error message will be shown

  8. Hi TJ,

     

    I built a fairly simple ThriveCart Payment Notify script a while back that has worked well for purchases, but it doesn't really handle failed billing/cancelled subscriptions - would it be possible to include a fully functioning ThriveCart notify php file that can handle cancels/refunds to auto-disable licenses and bundles? I'm looking at code in the other included notifier files but PHP is not my strong suite so any help with that would be greatly appreciated.

     

    Just now getting everything upgraded and the interface is so much faster, I'm loving it so far.

     

    Thanks so much again for releasing a killer, much needed update to the system!

     

    Is thrive cart one time payment?

  9. Walk thoguh on how Meters Locking software works to lock a software to the license system

    http://www.youtube.com/watch?v=-pfk5xtBeqw&hd=1

     

    A complete walk through on how to use the option for Integromat inside projects

    https://www.youtube.com/watch?v=ZvsZRsNCnMM

     

    thankyou very much, can you show a video how reset license works from subscriber point of view as its always confusing when to reset, whether changing system, etc and what will happen i,e if they exceed number of resets, what error message will be shown

  10. Hi TJ,

     

    Saw your demo video and had the following questions

     

     

    1. when you say bundles, does the user get one email with license details of several softwares at same time, is it same license for all the softwares in bundle or multiple different licenses for the bundle with different keys. what hapens if refund for bundle is asked, does the keys get automatically deleted once refunded

     

    2. Just like getresponse, can u add for aweber autoresoponder

  11. Hello, thanks for pointing that out it should be clearing them so I'll take a look and get an update out soon!

     

    I think i had same issue, what solved for me was to initialize datagrid only on onload bot loaded, then in the actual program i did not have to add the columns each time running a new instance of the main program, I could be wrong and i would need tor recheck but i was about to ask the same query before but i think adding it in onload didnt add multiple columns inspite of running a new program again and gain

  12. if there is a large text  in a single line and i want to split it into multiple lines like this while keeping say each sentence limited to space of 300-400 characters and if it exceeds then it goes to the next line, then how to achieve that

    I have tried using regex to get a new line after a full stop but then if there is a name like M.R , it ends up sending "R" to new line

     

    This is the way i want the text to be like , one line after another and preferably the width being even smaller however when it gets scraped, they all show up in single line horizontal.

     

    ===================================================================================================================

     

    I've been following Rachel Hollis for years. Up until now, her message has resonated with me. As a lifestyle blogger, she produced great content, but her recent evolution into a self-proclaimed "mogul," has bothered me for the last year. Unfortunately, "Girl Wash Your Face" is "Mogul Rachel" instead of her previous, likable self.Here are my issues with the book:1. The fake "hey ya'll" language.Hollis may have (VERY) recently moved to Austin, Texas (where I also live), but don't be fooled by her plastered-on attempts at sounding "down home." She is simply emulating greater, authentic Texas writers such as Jen Hatmaker and Brene Brown. She grew up in Southern California and most recently lived in Glendale.Texans have a phrase: "Don't California My Texas." This applies to written work, too.2.  The non-stop humble-bragging.We get it, Rachel, you are productive and work hard. Guess what - you also have a full-time nanny, full-time housekeeper, and an ACTUAL mogul of a husband to bankroll your PR expenditures, new staff hires, and property purchases. If your readers could afford to "run a company" and also not take a salary for 6+ years (while still having weekly mani/pedis, daily blowouts, etc.) I'm sure we all could be a "mogul" in our own way.3. The dangerous, non-expert advice.Hollis does not have a formal degree or certification of any kind, beyond a high school diploma. She is 100% unqualified to give advice in the areas of physical and mental health, relationships,  trauma/recovery, and life management. Marrying the only guy you've ever dated and having kids doesn't make you a relationship expert. It makes you a wife and mother. Losing weight and exercising doesn't making you a trainer or nutritionist. It makes you a person who has eaten well and exercised to better health. And experiencing trauma and having a therapist does NOT make you a mental health professional. It makes you someone who has worked through their own issues.4. The strategic "Christian-ish" positioning. This book is categorized under the "Christian Books" section on Amazon and similar retailers. This is a tactic by the author and publisher to rank higher and make the NYT's best-seller list. Those who have read the book have already noted the lack of actual Christian content. I mean, Rachel doesn't even thank God in the acknowledgements section! She does thank her nanny, though.5. The unoriginal, co-opted thoughts. Anyone who has read ANY of the following authors will see their content co-opted (and unattributed) throughout this entire book: Tony Robbins, Oprah, Elizabeth Gilbert, Jen Hatmaker, Brene Brown.I could go on, but I think I've made my point. I'll sum up my thoughts on this book in two words: derivative drivel.
     

  13. Hi nick

     

    Maybe you already know it but with the new ultimate UI the chart commands are not working for XAML like initialize chart, add chart to grid etc

     

    Also , this is what you had mentioned as replies for one of the queries i had previously- that for the moment if you have a black chart then we won't see the legend text and you may end up doing a big revamp for V 2.0 since we are on 1.9 right now that would be the next major update and that maybe for 2.0 you will redo the charting system.

×
×
  • Create New...