Jump to content
UBot Underground

beatngu

Fellow UBotter
  • Content Count

    263
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by beatngu

  1. I have problems with getting a regex right.

    Is there a way to get this regex i created to only scrape 1 picture url instead of all?

    (http://)\b([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}/([0-9-]+)/([A-Za-z0-9-]+).jpg

     

    When i scrape using this i get a list looking like this:

    http://www.digitale-weegschalen.nl/10-51/ultradunne-mini-lcd-display-digitale-weegschaal-met-mp3-speler-ontwerp.jpg
    http://www.digitale-weegschalen.nl/10-53/ultradunne-mini-lcd-display-digitale-weegschaal-met-mp3-speler-ontwerp.jpg
    http://www.digitale-weegschalen.nl/10-52/ultradunne-mini-lcd-display-digitale-weegschaal-met-mp3-speler-ontwerp.jpg
    http://www.digitale-weegschalen.nl/10-50/ultradunne-mini-lcd-display-digitale-weegschaal-met-mp3-speler-ontwerp.jpg
    http://www.digitale-weegschalen.nl/11-57/2-inch-touch-screen-pocket-weegschaal.jpg
    http://www.digitale-weegschalen.nl/11-55/2-inch-touch-screen-pocket-weegschaal.jpg
    http://www.digitale-weegschalen.nl/11-60/2-inch-touch-screen-pocket-weegschaal.jpg
    http://www.digitale-weegschalen.nl/11-58/2-inch-touch-screen-pocket-weegschaal.jpg
    http://www.digitale-weegschalen.nl/11-56/2-inch-touch-screen-pocket-weegschaal.jpg
    http://www.digitale-weegschalen.nl/11-54/2-inch-touch-screen-pocket-weegschaal.jpg
    http://www.digitale-weegschalen.nl/11-61/2-inch-touch-screen-pocket-weegschaal.jpg
    http://www.digitale-weegschalen.nl/11-59/2-inch-touch-screen-pocket-weegschaal.jpg
    http://www.digitale-weegschalen.nl/12-62/mini-digitale-elektronische-weegschaal-zippo-style-box.jpg
    http://www.digitale-weegschalen.nl/12-67/mini-digitale-elektronische-weegschaal-zippo-style-box.jpg
    http://www.digitale-weegschalen.nl/12-65/mini-digitale-elektronische-weegschaal-zippo-style-box.jpg
    http://www.digitale-weegschalen.nl/12-64/mini-digitale-elektronische-weegschaal-zippo-style-box.jpg
    http://www.digitale-weegschalen.nl/12-63/mini-digitale-elektronische-weegschaal-zippo-style-box.jpg
    http://www.digitale-weegschalen.nl/12-68/mini-digitale-elektronische-weegschaal-zippo-style-box.jpg
    http://www.digitale-weegschalen.nl/12-66/mini-digitale-elektronische-weegschaal-zippo-style-box.jpg
    http://www.digitale-weegschalen.nl/13-71/draagbare-digitale-keuken-weegschaal.jpg
    http://www.digitale-weegschalen.nl/13-69/draagbare-digitale-keuken-weegschaal.jpg
    http://www.digitale-weegschalen.nl/13-72/draagbare-digitale-keuken-weegschaal.jpg
    http://www.digitale-weegschalen.nl/13-70/draagbare-digitale-keuken-weegschaal.jpg
    http://www.digitale-weegschalen.nl/14-73/digitale-sieraden-weegschaal.jpg
    http://www.digitale-weegschalen.nl/14-76/digitale-sieraden-weegschaal.jpg
    http://www.digitale-weegschalen.nl/14-74/digitale-sieraden-weegschaal.jpg
    http://www.digitale-weegschalen.nl/14-75/digitale-sieraden-weegschaal.jpg
    http://www.digitale-weegschalen.nl/15-78/opvouwbare-pocket-weegschaal.jpg
    http://www.digitale-weegschalen.nl/15-80/opvouwbare-pocket-weegschaal.jpg
    http://www.digitale-weegschalen.nl/15-79/opvouwbare-pocket-weegschaal.jpg
    http://www.digitale-weegschalen.nl/15-77/opvouwbare-pocket-weegschaal.jpg
    http://www.digitale-weegschalen.nl/16-83/pak-sigaretten-digitale-weegschaal.jpg
    http://www.digitale-weegschalen.nl/16-84/pak-sigaretten-digitale-weegschaal.jpg
    http://www.digitale-weegschalen.nl/16-81/pak-sigaretten-digitale-weegschaal.jpg
    http://www.digitale-weegschalen.nl/16-82/pak-sigaretten-digitale-weegschaal.jpg
    http://www.digitale-weegschalen.nl/17-86/iphone-weegschaal.jpg
    http://www.digitale-weegschalen.nl/17-88/iphone-weegschaal.jpg
    http://www.digitale-weegschalen.nl/17-87/iphone-weegschaal.jpg
    http://www.digitale-weegschalen.nl/17-85/iphone-weegschaal.jpg
    

     

    So is there a way with regex to only get 1 ,jpg from each product?

    Or is there any other way to clean up my list?

  2. If you want the best then you should go with Darryl.

    He is pushing out updates like crazy and he still got some tricks up his sleeve.

    When it comes to UI design then all my money is on Darryl,he just raised the price but its worth all the money without a doubt.

  3. Any one have a nice trick they want to share on handeling dynamic menus/lists?

    The sad part is i can not show the page i have problems with because it is a non english site and account is needed to be able to show the menus.

    However i found a screenshot of almost the same menus as i am struggeling with(added to this post)

     

    As you see there are 3 groups,and i need them in 3 ui dropdowns.

    The first group is no problem its just to scrape it and im done.

    Its the other 2 groups that are making me pull out my hair.

     

    I used to handle this with a if then command on the 2 last groups and it works out well (if i know what i am going to choose in group1)

    Now i want all items in the list in my ui dropdowns and not only a couple.

    The problem is the list/menus are huge and doing it this way is going to take ages and i would need 600-700 if then commands.

     

    So my question is:

    Is there any way to populate the 2 last ui dropdowns with the dynamic list (In a way that the 2 ui dropdowns would be dynamic dropdowns and auto change when the selection is done in group1??)

    post-3703-0-73199000-1365524853_thumb.png

×
×
  • Create New...