NassauSky Posted November 26, 2017 Posted November 26, 2017 (edited) Hey all, Has anyone created any queries for youtube? I was thinking it might be something like this but can't quite figure it out: $oIE = _IECreateEmbedded() _IENavigate($oIE,"https://www.youtube.com") Local $oForms = _IETagNameGetCollection($oIE, "form") Local $sTxt = "" For $oForm In $oForms If $oForm.id = "masthead-search" Then $oInputs = _IETagNameGetCollection($oIE, "input") For $oInput In $oInputs If $oInput.id = "masthead-search-term" Then _IEFormElementSetValue($oInput, "cards") _IEFormSubmit($oForm) EndIf Next EndIf Next Edited November 26, 2017 by nassausky Typo
Moderators JLogan3o13 Posted November 26, 2017 Moderators Posted November 26, 2017 @nassausky please pay attention to where you post in the future. The Examples forum very clearly states: Quote Do not post general support questions here, instead use the AutoIt Help and Support forums. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
NassauSky Posted November 26, 2017 Author Posted November 26, 2017 Sorry about that can you move it over or should i copy the question to the right section.
Moderators JLogan3o13 Posted November 26, 2017 Moderators Posted November 26, 2017 It is moved to the proper forum "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
NassauSky Posted November 26, 2017 Author Posted November 26, 2017 (edited) How can their server be smart enough to give this response: We're sorry... ... but your computer or network may be sending automated queries. So my guess is I'm doing it correctly unless there is some other way around it. Edited November 26, 2017 by nassausky
Moderators Melba23 Posted November 26, 2017 Moderators Posted November 26, 2017 nassausky, Getting that as a reply means that you obviously fall foul of the Forum rules which forbid the discussion of "Automation of software/sites contrary to their EULA" - so the thread is locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts