Instagram scraping a random list of public profiles - loops

Quick summary, I want to create a list or dictionary of random IG profiles (size = ~1000). If possible i would like to set conditions based on number of followers the profiles have. Honestly, I've been searching the last few days for some kind of direction but haven't found anything. I've been using Insta-scrape but it haven't been successful. Any help would be great appreciated.

Firstly Scraping Instagram is illegal based on their Terms and Conditions so you should have definitely went to do more research before posting this. FBI are probably watching you right now. Scraping other websites legally can be done using requests and beautifulsoup4, or selenium

Related

Is there a way to live copy a channel chat from one server to another?

I am trying to create a spreadsheet for a World of Warcraft community, based on certain posts/events happening where we #tag the involved people. We would then normally go to our excel sheet and enter manually the names of the participants and all the rest of the details.
I have been trying to do it with Zapier, and i managed to fix all my rules/steps, but the moment i #tag anyone, the text sent/parsed is " !185020918530048000> " instead of "Loco-Silvermoon" for example.
Please help, any insight would be most welcome.
Anyone got an idea about that? or any Bot/Platform that would work around that? My thought process took me two solutions. Either get a bot to replicate all the chat happening on that channel to another private channel that only i can see and where tagging is not allowed (no idea if that exists or work). OR, get a Bot with a plaintext option that would just send me the text instead of the tagtext.

Implementing basic next/previous picture

I'm trying to convert the Adjuster example mentioned here: http://agiletoolkit.org/learn/understand/view/interactive
into a View that is able to show me the next/previous picture of a list of given images.
I guess the number in the example could be an index into an array of pictures.
I'm just not sure how to provide the list of pictures, when all the code is put in init() for the View, so no way to give it the picturelist before that...
Should I use memorize/recall for this list also to prevent it getting lost upon reload ?
is there another example that might help me?
I think you what you are doing can be much easier done with a classic JavaScript Lightbox script. You would supply it list of images and it would show one full-screen.
If not, you can use this:
https://gist.github.com/romaninsh/7217119
This will give you slides similar to the ones on http://agiletech.ie/
Be advised that this code is a little old.

Apple Maps - Find destination/location - How to?

I'm still a noobie to app making, and i've been trying to read some of the documentary for the MapKit, but im still clueless on how to do this.
I have a textfield on TabBar2, and Apple Map on TabBar1.
How do i make the textfield on TabBar2, searchable for destinations like adresses ?
and then show the found destination, on the map on TabBar1 ?
I hope this made some sense.
Thanks in advance
One way to do it is to use MKLocalSearchClass which searches for key words and can be tricked to look for addresses as well. You need to incorporate MKLocalSearchHandler in your class in order to produce the results. You can then add the results in a map view. Apple has a sample code which works basically the same way. It creates a search based on keywords and shows the location of those keywords nearby the users location. For example coffee or movie or etc. the code can be changed to look for a address or anything else you want. Any how here is the link to the sample code, hope it guides you to the right direction.
Map Search Sample Code

Reverse Routing Slug-Based URL in CakePHP

(I know there's a couple of other reverse-routing-slugs questions on this site, but I'm not having much luck relating the answers to my particular issue, so I'll ask my more specific question...)
I am building a site whose URLs now need to be slug-based, i.e. what was initially news/item/1 now has to have the URL news/firstnewsitem. And so on for a number of other controllers. I can easily get these addresses to work, and maybe even not stomp on my existing utility actions, with something like:
Router::connect('/:controller/:slug',
array('action'=>'item'),
array('pass'=>array('slug'), 'slug'=>'[^(index|add|edit|view|delete)]')
);
However, the reverse routing of these new links seems to be a non-starter: Cake is still generating such links as news/item/3. It seems optimistic to hope that a slug-based URL would automagically happen, but is there any array that I can pass in my Html->link parameters that will create the :controller/:slug format I'm looking for? Or do I have to cut my losses and back away from reverse routing at this point?
There's a pretty decent plugin for handling slug-based routing here:
https://github.com/jeremyharris/slugger
If you used this, you would be able to create links something like this
$html->link("some item", array(
'controller'=>'items',
'action'=>'view',
'Item'=>$item['id']
));
and that would output a link to /items/view/slug-for-your-item

How do I add an "enviroment" to my scene in 3ds MAX?

I'm Currently working on a scene and i cant seem to find infomation as to how to make a setting for my scen. Its basically a street with buildings on either sides. about 500m long.
I want to put it into a city "enviroment" for animation. Also there will be camera movements so i dont think simply adding an image as a background will work. what i want to know is, Is there a a way to achieve what i want without actually building a small city?
any help or a pointer in the right direction would be great.
thanks in advance
A cubemap might work. http://wiki.polycount.com/CubeMap
There are applications which will generate a city for you, based on criteria you enter. You can enter the building types, sizes etc. I've used one called City Engine - I used the built in wizards to create this but you can create one from scratch even specifying the road layouts: Youtube Video
3ds max has predefined models within it's system,
For example a tree:
This tutorial is great:
http://www.youtube.com/watch?v=G-cfF2ep2DI
look into "AEC Extended"

Resources