code: def get_contents(self, el, no_iframe=False):
          
          if not no_iframe or not self.is_iframe(el):
              for content in el.contents:
                  yield content
docs: Get contents or contents in reverse.