Quote:
Originally Posted by forlan38
still no other way of MFChecker?
|
what i did earlier this week was wrote a little script that curls mfc's top online models and their offline models page.
It just runs on an endless loop with a random length temporary sleep time between each bulk cURL run.
From this I parse out all the model names and store them in a temporary swap file.
With all the model names rounded up from both pages I cURL I then cURL each model's profile pageto locate their model ID.
Then I pass the information off to a MySQL database I created with the following columns:
recordNum(incremental INT - PK) | modelName | modelID
I query this database to figure out which model's I have in my various rtmpsuck.exe's saved streams folder (as rtmpsuck only saves the modelID in the file name).
Also, since some MFC models love to change their names regularly I specifically query mysql for the modelID and sort it so that it responds with only the most recent modelName for that modelID.
Is this the best solution? Hell no, but it is good enough for my needs, for now. It doesn't get every model and it has a lot of redundant processes (ie: re-scraping model profiles already discovered and haven't changed)
I really need to learn how to mimic a javascript enabled web browser from a terminal script (using anything like lynx, w3m or bottle.py). I'd be curious if anyone has any tips or insight as to what the best general path I should explore to accomplish this hurdle...